From 08f010366136640866b79965df85527a40289452 Mon Sep 17 00:00:00 2001 From: Pierre Marechal Date: Tue, 29 Nov 2005 10:53:56 +0000 Subject: [PATCH] To launch benchmarks with a Makefile --- tests/Benchmarks/Makefile | 19 +++++++++++++++++++ tests/Benchmarks/Makefile.mak | 13 +++++++++++++ tests/m2sci_tests/Makefile | 19 +++++++++++++++++++ tests/m2sci_tests/Makefile.mak | 13 +++++++++++++ 4 files changed, 64 insertions(+) create mode 100644 tests/Benchmarks/Makefile create mode 100644 tests/Benchmarks/Makefile.mak create mode 100644 tests/m2sci_tests/Makefile create mode 100644 tests/m2sci_tests/Makefile.mak diff --git a/tests/Benchmarks/Makefile b/tests/Benchmarks/Makefile new file mode 100644 index 0000000..798f44a --- /dev/null +++ b/tests/Benchmarks/Makefile @@ -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 index 0000000..c7aafe5 --- /dev/null +++ b/tests/Benchmarks/Makefile.mak @@ -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 index 0000000..0d9aaee --- /dev/null +++ b/tests/m2sci_tests/Makefile @@ -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 index 0000000..998a80f --- /dev/null +++ b/tests/m2sci_tests/Makefile.mak @@ -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 -- 1.7.9.5