Skip to content

Commit

Permalink
Move test to subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
dlesbre committed Jul 12, 2024
1 parent 8800a36 commit 039c2de
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
12 changes: 1 addition & 11 deletions src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
(library
(name PatriciaTree)
(public_name patricia-tree)
(modules :standard \ prelude PatriciaTreeTest)
(foreign_stubs
(language c)
(names int_builtins)))
Expand All @@ -33,13 +32,4 @@
(mdx
(files *.mld *.mli)
(libraries patricia-tree)
(preludes prelude.ml))

(library
(name PatriciaTreeTest)
(inline_tests
(libraries qcheck-core))
(preprocess
(pps ppx_inline_test))
(libraries PatriciaTree qcheck-core)
(modules PatriciaTreeTest))
(preludes test/mdx_prelude.ml))
29 changes: 29 additions & 0 deletions src/test/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This file is part of the Codex semantics library ;;
;; (patricia-tree sub-component). ;;
;; ;;
;; Copyright (C) 2024 ;;
;; CEA (Commissariat à l'énergie atomique et aux énergies ;;
;; alternatives) ;;
;; ;;
;; You can redistribute it and/or modify it under the terms of the GNU ;;
;; Lesser General Public License as published by the Free Software ;;
;; Foundation, version 2.1. ;;
;; ;;
;; It is distributed in the hope that it will be useful, ;;
;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;
;; GNU Lesser General Public License for more details. ;;
;; ;;
;; See the GNU Lesser General Public License version 2.1 ;;
;; for more details (enclosed in the file LICENSE). ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(library
(name PatriciaTreeTest)
(inline_tests
(libraries qcheck-core))
(preprocess
(pps ppx_inline_test))
(libraries PatriciaTree qcheck-core)
(modules PatriciaTreeTest))
File renamed without changes.
File renamed without changes.

0 comments on commit 039c2de

Please sign in to comment.