From c93da26c550147a572395d6d349227b9b386e362 Mon Sep 17 00:00:00 2001 From: schnetter Date: Fri, 2 Mar 2007 03:45:17 +0000 Subject: Add a grid scalar to indicate success or failure of the self tests. Add a test cases running the self test and using this variable as indicator. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/SlabTest/trunk@10 732e31d2-b375-409b-9bd3-699c3b2c9da5 --- test/slabtest.par | 22 ++++++++++++++++++++++ test/slabtest/success.xg | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 test/slabtest.par create mode 100644 test/slabtest/success.xg (limited to 'test') diff --git a/test/slabtest.par b/test/slabtest.par new file mode 100644 index 0000000..ca68d7a --- /dev/null +++ b/test/slabtest.par @@ -0,0 +1,22 @@ +# $Header$ + +cactus::cctk_itlast = 0 + +ActiveThorns = "IOUtil" + +IO::out_dir = $parfile +IO::parfile_write = no +IO::out_fileinfo = "none" + +ActiveThorns = "PUGH PUGHSlab" + +driver::global_nx = 10 +driver::global_ny = 11 +driver::global_nz = 12 + +ActiveThorns = "Slab SlabTest" + +ActiveThorns = "IOBasic" + +IOBasic::outScalar_every = 1 +IOBasic::outScalar_vars = "SlabTest::success" diff --git a/test/slabtest/success.xg b/test/slabtest/success.xg new file mode 100644 index 0000000..84eaf46 --- /dev/null +++ b/test/slabtest/success.xg @@ -0,0 +1,2 @@ +"success v time +0.0000000000000 1 -- cgit v1.2.3