summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib-bigarray-2
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/lib-bigarray-2')
-rw-r--r--testsuite/tests/lib-bigarray-2/bigarrf.refout (renamed from testsuite/tests/lib-bigarray-2/bigarrfml.reference)0
-rw-r--r--testsuite/tests/lib-bigarray-2/bigarrf.t (renamed from testsuite/tests/lib-bigarray-2/Makefile)15
-rw-r--r--testsuite/tests/lib-bigarray-2/bigarrfml.ml2
3 files changed, 7 insertions, 10 deletions
diff --git a/testsuite/tests/lib-bigarray-2/bigarrfml.reference b/testsuite/tests/lib-bigarray-2/bigarrf.refout
index 8368d5aba0..8368d5aba0 100644
--- a/testsuite/tests/lib-bigarray-2/bigarrfml.reference
+++ b/testsuite/tests/lib-bigarray-2/bigarrf.refout
diff --git a/testsuite/tests/lib-bigarray-2/Makefile b/testsuite/tests/lib-bigarray-2/bigarrf.t
index 373ff94493..4feaf9218e 100644
--- a/testsuite/tests/lib-bigarray-2/Makefile
+++ b/testsuite/tests/lib-bigarray-2/bigarrf.t
@@ -2,18 +2,15 @@
# #
# OCaml #
# #
-# Xavier Clerc, SED, INRIA Rocquencourt #
+# Damien Doligez, Jane Street Capital #
# #
-# Copyright 2010 Institut National de Recherche en Informatique et #
+# Copyright 2015 Institut National de Recherche en Informatique et #
# en Automatique. All rights reserved. This file is distributed #
# under the terms of the Q Public License version 1.0. #
# #
#########################################################################
-BASEDIR=../..
-LIBRARIES=unix bigarray
-C_FILES=bigarrfstub
-F_FILES=bigarrf
-
-include $(BASEDIR)/makefiles/Makefile.several
-include $(BASEDIR)/makefiles/Makefile.common
+sources='unix.cma bigarray.cma bigarrf.f bigarrfstub.c bigarrfml.ml'
+cflags="-I $CTOPDIR/otherlibs/bigarray"
+compflags="-I $OTOPDIR/otherlibs/bigarray -I $OTOPDIR/otherlibs/$UNIXLIB \
+ $FORTRAN_LIBRARY"
diff --git a/testsuite/tests/lib-bigarray-2/bigarrfml.ml b/testsuite/tests/lib-bigarray-2/bigarrfml.ml
index 906826fae6..d73f1555f0 100644
--- a/testsuite/tests/lib-bigarray-2/bigarrfml.ml
+++ b/testsuite/tests/lib-bigarray-2/bigarrfml.ml
@@ -39,7 +39,7 @@ let test test_number answer correct_answer =
(* External C and Fortran functions *)
external c_filltab :
- unit -> (float, float64_elt, c_layout) Array2.t = "c_filltaab"
+ unit -> (float, float64_elt, c_layout) Array2.t = "c_filltab"
external c_printtab :
(float, float64_elt, c_layout) Array2.t -> unit = "c_printtab"
external fortran_filltab :