From 05a54ba38745d7130141e2d606ca5068b18d90fd Mon Sep 17 00:00:00 2001 From: svn_bwardell Date: Sun, 7 Aug 2011 12:40:58 +0000 Subject: Add code to test vectorisation macros. This is conditionally run dependent on the "tests" parameter which can take the values "report", "abort" or "skip". The default is "skip" which causes the tests not to run. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/Vectors/trunk@18 105869f7-3296-0410-a4ea-f4349344b45a --- schedule.ccl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'schedule.ccl') diff --git a/schedule.ccl b/schedule.ccl index 7da984f..d6c06a9 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -4,3 +4,11 @@ schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" + +if (CCTK_EQUALS(tests, "report") || CCTK_EQUALS(tests, "abort")) +{ + schedule Vectors_Test at CCTK_PARAMCHECK + { + LANG: C + } "Run correctness tests." +} -- cgit v1.2.3