aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authorsvn_bwardell <svn_bwardell@105869f7-3296-0410-a4ea-f4349344b45a>2011-08-07 12:40:58 +0000
committersvn_bwardell <svn_bwardell@105869f7-3296-0410-a4ea-f4349344b45a>2011-08-07 12:40:58 +0000
commit05a54ba38745d7130141e2d606ca5068b18d90fd (patch)
treecc439d8b48c6d6d915ac8fddea7b7192526938fc /param.ccl
parent80a618b99cf4ad7e0c4ac06645486ac9c0e71c4f (diff)
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
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl7
1 files changed, 7 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
index dc5d37e..f785af9 100644
--- a/param.ccl
+++ b/param.ccl
@@ -1 +1,8 @@
# Parameter definitions for thorn Vectors
+
+KEYWORD tests "Whether to run correctness tests on startup."
+{
+ "report" :: "Run tests and report any which fail."
+ "abort" :: "Run tests and abort if any fail."
+ "skip" :: "Don't run tests."
+} "skip" \ No newline at end of file