To launch benchmarks with a Makefile
Pierre Marechal [Tue, 29 Nov 2005 10:53:56 +0000 (10:53 +0000)]
tests/Benchmarks/Makefile [new file with mode: 0644]
tests/Benchmarks/Makefile.mak [new file with mode: 0644]
tests/m2sci_tests/Makefile [new file with mode: 0644]
tests/m2sci_tests/Makefile.mak [new file with mode: 0644]

diff --git a/tests/Benchmarks/Makefile b/tests/Benchmarks/Makefile
new file mode 100644 (file)
index 0000000..798f44a
--- /dev/null
@@ -0,0 +1,19 @@
+SHELL = /bin/sh
+
+SCIDIR = ../..
+
+include ../../Makefile.incl
+
+info:
+       @echo "Type \"make tests\" in tests directory"
+       @echo "  to test the  distribution"
+       @echo " SEE THE README FILE (IMPORTANT) "
+
+tests: 
+       $(SCIDIR)/bin/scilab -nw -f benchmark.sce
+
+clean ::
+       $(RM) $(SCIDIR)/benchmark.ini
+
+distclean::
+       $(RM) $(SCIDIR)/benchmark.ini
diff --git a/tests/Benchmarks/Makefile.mak b/tests/Benchmarks/Makefile.mak
new file mode 100644 (file)
index 0000000..c7aafe5
--- /dev/null
@@ -0,0 +1,13 @@
+
+SCIDIR1 = ..\..
+
+include ..\..\Makefile.incl.mak
+
+tests:
+       $(SCIDIR1)\bin\scilex -nw -f benchmark.sce
+
+clean ::
+       @del $(SCIDIR1)/benchmark.ini
+
+distclean::
+       @del $(SCIDIR1)/benchmark.ini
diff --git a/tests/m2sci_tests/Makefile b/tests/m2sci_tests/Makefile
new file mode 100644 (file)
index 0000000..0d9aaee
--- /dev/null
@@ -0,0 +1,19 @@
+SHELL = /bin/sh
+
+SCIDIR = ../..
+
+include ../../Makefile.incl
+
+info:
+       @echo "Type \"make tests\" in tests directory"
+       @echo "  to test M2SCI"
+       @echo " SEE THE README FILE (IMPORTANT) "
+
+tests:
+       $(SCIDIR)/bin/scilab -nw -f m2sci.sce
+
+clean ::
+       $(SCIDIR)/bin/scilab -nw -f clean.sce
+
+distclean::
+       $(SCIDIR)/bin/scilab -nw -f clean.sce
diff --git a/tests/m2sci_tests/Makefile.mak b/tests/m2sci_tests/Makefile.mak
new file mode 100644 (file)
index 0000000..998a80f
--- /dev/null
@@ -0,0 +1,13 @@
+
+SCIDIR1 = ..\..
+
+include ..\..\Makefile.incl.mak
+
+tests:
+       $(SCIDIR1)\bin\scilex -nw -f m2sci.sce
+
+clean ::
+       $(SCIDIR1)\bin\scilex -nw -f clean.sce
+
+distclean::
+       $(SCIDIR1)\bin\scilex -nw -f clean.sce