1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
--- ./tests/Makefile.orig 2014-10-13 17:48:33.566931923 +0200
+++ ./tests/Makefile 2014-10-13 17:49:08.306300077 +0200
@@ -167,6 +167,9 @@
ACES3_EXE=$(shell pwd)/../bin
GENBAS=./GENBAS
runscript=./runscript
+QUICKTESTS=1.1.1.1 1.1.2.1 1.1.3.1 1.1.4.1 \
+ 1.2.1.1 1.2.2.1 1.2.3.1 \
+ 1.3.1.1 1.3.2.1
TESTS=1.1.1.1 1.1.2.1 1.1.2.2 1.1.3.1 1.1.3.2 1.1.4.1 1.1.4.2 \
1.2.1.1 1.2.2.1 1.2.3.1 1.2.3.2 \
1.3.1.1 1.3.2.1 \
@@ -178,7 +181,7 @@
#3.1.1.1 3.1.2.1 3.1.3.1 3.1.3.2 3.1.4.1 3.1.4.2 \
#3.2.1.1 3.2.1.2 3.2.2.1 3.2.2.2 3.2.3.1
-all: tests scripts
+all: tests scripts scripts-quick
# Build directories of all test jobs.
@@ -220,9 +223,34 @@
done
@cp runscript $(INSTALL_DIR) ;
+scripts-quick: % : ;
+ @echo \#!/bin/csh >runscript-quick
+ @for line in $(PBS_LINES) ; \
+ do echo $$line >>runscript-quick ; \
+ done
+ @for line in $(ENV_VARS) ; \
+ do echo $$line >>runscript-quick ; \
+ done
+ @echo $(SET_ACES_EXE_PATH) $(ACES3_EXE) >>runscript-quick ;
+ @echo cd $(INSTALL_DIR) >>runscript-quick ;
+ @echo "echo Test of ACESIII system >monitor_tests" >>runscript-quick ;
+ @echo "date >>monitor_tests" >>runscript-quick ;
+ @for test in $(QUICKTESTS) ; \
+ do echo >>runscript-quick ; \
+ echo \#\#\# Test $$test \#\#\# >>runscript-quick ; \
+ echo cd $(INSTALL_DIR)/$$test >>runscript-quick ; \
+ echo "echo Running $$test" >>runscript-quick ; \
+ echo "echo Running $$test >>../monitor_tests" >>runscript-quick ; \
+ echo "date >>../monitor_tests" >>runscript-quick ; \
+ echo $(MPIRUN) >>runscript-quick ; \
+ echo "echo Completed $$test >>../monitor_tests" >>runscript-quick ; \
+ echo "$(RUN_COMPARE) $$test >>../monitor_tests" >>runscript-quick ; \
+ echo sleep 10 >>runscript-quick ; \
+ done
+
distclean clean: % : ;
@rm -rf $(INSTALL_DIR)
- @rm -rf runscript
+ @rm -rf runscript runscript-quick
@rm -rf ACES3_TEST.o*
libclean binclean archive: % : ;
|