summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmaël Guéneau <armael.gueneau@ens-lyon.fr>2018-01-24 12:59:39 +0100
committerArmaël Guéneau <armael.gueneau@ens-lyon.fr>2018-02-01 14:07:02 +0100
commitfc67392dcd7189564042907cfda50b04d69fec66 (patch)
treef70947c410f9f959033366b366be253245427a92
parente910499ccfe9abccffc793caa2bea06e700e7ca1 (diff)
downloadocaml-fc67392dcd7189564042907cfda50b04d69fec66.tar.gz
Migrate test "lib-marshal" to ocamltest
-rw-r--r--testsuite/tests/lib-marshal/Makefile22
-rw-r--r--testsuite/tests/lib-marshal/intext.ml4
-rw-r--r--testsuite/tests/lib-marshal/ocamltests1
3 files changed, 5 insertions, 22 deletions
diff --git a/testsuite/tests/lib-marshal/Makefile b/testsuite/tests/lib-marshal/Makefile
deleted file mode 100644
index a79f6bdda9..0000000000
--- a/testsuite/tests/lib-marshal/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-#**************************************************************************
-#* *
-#* OCaml *
-#* *
-#* Xavier Clerc, SED, INRIA Rocquencourt *
-#* *
-#* Copyright 2010 Institut National de Recherche en Informatique et *
-#* en Automatique. *
-#* *
-#* All rights reserved. This file is distributed under the terms of *
-#* the GNU Lesser General Public License version 2.1, with the *
-#* special exception on linking described in the file LICENSE. *
-#* *
-#**************************************************************************
-
-BASEDIR=../..
-#MODULES=
-MAIN_MODULE=intext
-C_FILES=intextaux
-
-include $(BASEDIR)/makefiles/Makefile.one
-include $(BASEDIR)/makefiles/Makefile.common
diff --git a/testsuite/tests/lib-marshal/intext.ml b/testsuite/tests/lib-marshal/intext.ml
index 11633092fc..66cc714f62 100644
--- a/testsuite/tests/lib-marshal/intext.ml
+++ b/testsuite/tests/lib-marshal/intext.ml
@@ -1,3 +1,7 @@
+(* TEST
+ modules = "intextaux.c"
+*)
+
(* Test for output_value / input_value *)
let max_data_depth = 500000
diff --git a/testsuite/tests/lib-marshal/ocamltests b/testsuite/tests/lib-marshal/ocamltests
new file mode 100644
index 0000000000..edb5046cea
--- /dev/null
+++ b/testsuite/tests/lib-marshal/ocamltests
@@ -0,0 +1 @@
+intext.ml