Commit graph

508 commits

Author SHA1 Message Date
Ray Speth
85c34049b6 Added support for running single tests with SCons
Run the 'foo' test with 'scons test-foo'.
Also simplified the names for many tests.
2012-01-09 17:35:06 +00:00
Ray Speth
9e1fdfe39a Eliminated CVS keyword cruft 2012-01-09 17:32:01 +00:00
Ray Speth
8b699082c8 Removed cantera/kernel from include path
The "cantera/kernel" directory is now part of the include path only
when building the Cantera kernel. All other modules include files in
this directory as "kernel/header.h".

This fixes a problem distinguishing between kernel/Kinetics.h and
kinetics.h on Windows.
2012-01-09 17:31:21 +00:00
Nicholas Malaya
035a270118 [cantera]: removing a few files and chaning some library paths 2012-01-04 05:49:44 +00:00
Nicholas Malaya
92abf1f919 [cantera]: changing relative directory of all generated libraries to build directory, in keeping with cantera 1.8 standard. Next: make working 'make check'! 2012-01-04 00:42:46 +00:00
Ray Speth
124f8b9f6b Tests now look for elements.xml in the source tree. 2011-12-20 03:06:35 +00:00
Ray Speth
71588d307d Remove files for Autotools and Visual Studio build systems 2011-12-14 19:38:10 +00:00
Ray Speth
d587c093de Clean up most artifacts of building the tests under Windows 2011-12-14 19:36:40 +00:00
Ray Speth
00fdf5d3f5 SCons now continues over failed tests and prints a summary at the end 2011-12-14 19:36:21 +00:00
Ray Speth
d2eba8e5e0 Fixed ck2cti tests to run under Windows 2011-12-14 19:36:17 +00:00
Ray Speth
b44ebe45a3 SCons now runs all of the Python regression tests 2011-12-14 19:36:12 +00:00
Ray Speth
c3f4972f52 Improvements to the SCons regression test handler
Refactored SCons testing code to handle tests using prebuilt binaries.
Now handles regression tests where the standard output is ignored.
Also, allows regression tests to ignore lines starting with specified
strings.
2011-12-14 19:36:03 +00:00
Ray Speth
be92c4cbc5 Added support for command line options for regression tests 2011-12-14 05:55:40 +00:00
Ray Speth
5c95d30807 Use relative tolerances for comparing csv file in regression tests
Each test can have a different threshold and tolerance, reducing the
need to recreate blessed output files in response to small numerical
changes.
2011-12-14 05:55:35 +00:00
Ray Speth
9ff2c93615 Modified the cxx_ex tests to generate consistent output 2011-12-14 05:55:29 +00:00
Ray Speth
d7a384e25d Extended SCons testing to be able to handle multiple output files
Extra files to be compared are passed as a list of tuples of
(blessed_output, test_output) using the 'comparisons' keyword
argument.
2011-12-14 05:55:24 +00:00
Ray Speth
ea63e3163a Moved remaining C++ tests out of examples/cxx 2011-12-14 05:55:11 +00:00
Ray Speth
70c71b5448 SCons can now run most of the tests in the test_problems directory
Does not yet handle tests with multiple outputs or tests requiring
additional command line arguments.
2011-12-14 05:55:05 +00:00
Ray Speth
a9028d6b77 Added test building and running capabilities to SCons scripts 2011-12-14 05:54:56 +00:00
Nicholas Malaya
5af8b69446 [cantera+autotools]: adding aminclude.am 2011-12-09 23:46:41 +00:00
Nicholas Malaya
b44aef4ccb [cantera+autotools]: adding test directory required tests 2011-12-09 23:44:20 +00:00
Nicholas Malaya
9af95b0aed [cantera]: fixing up whitespace issue here 2011-12-09 06:16:55 +00:00
Nicholas Malaya
21960f5402 [cantera+autotools]: adding makefile.am in test_problems 2011-11-11 16:07:23 +00:00
Nicholas Malaya
68d07c5bad [cantera+autotools]: a few more edits, adding another makefile.am in examples (which will have to be edited further downstream) 2011-11-11 00:44:27 +00:00
Harry Moffat
b9c9f81761 Made the BandMatrix class and SquareMatrix inherit from a common
parent so that they can be used interchangeably in other software.

Removed PsuedBinaryVPSSTP in favor of MolarityIonicVPSSTP
2011-10-19 20:45:06 +00:00
Harry Moffat
d660415067 Rebaselined. 2011-08-01 22:07:28 +00:00
Harry Moffat
ff7e66e5a3 This update adds in a Multicomponent Real Gas capability to Cantera.
The Object is called RedlichKwongMFTP, and it implements a multicomponent real gas approximation.
Most of the functionality has been verified against sample problems involving the CO2-H2O system.
2011-07-23 00:30:35 +00:00
Harry Moffat
60ae1d2c11 Small rebaseline for roundoff error 2011-04-19 16:45:04 +00:00
Harry Moffat
0d33823d9e Reblessed this test 2011-03-29 15:17:42 +00:00
Harry Moffat
ff3ebb25c2 Merge of the main branch into the LiquidTransportDevelop branch. 2010-11-12 21:37:41 +00:00
Harry Moffat
fa56309462 Modifications to the Makefiles to make the THREAD_SAFE_CANTERA ifdef
block work again.
2010-11-12 19:18:49 +00:00
Harry Moffat
f26ff94525 Changed NaCl_equil printouts due to rebaseline.
Fixed Makefile error
2010-10-22 22:30:24 +00:00
Harry Moffat
7905ea977f Rebaselined some test problems. 2010-10-04 23:00:26 +00:00
Harry Moffat
741d094065 Updated the test 2010-08-14 18:29:39 +00:00
Harry Moffat
8f8b83e0a2 Changed the runtest so that a value of 0 returned from csvdiff
indicates a successful test. Previously, it had been a 1. 
These tests in this branch weren't changed in my commit of last week.
2010-04-05 16:35:49 +00:00
Harry Moffat
1e77c40db0 Small changes 2010-04-02 19:44:08 +00:00
Harry Moffat
4811459364 Changed the csvdiff default return value.
Now a return of 0 indicates a success.
  Previously a return of 1 indicated a success. Please note!
2010-04-02 19:29:07 +00:00
Harry Moffat
35d5677ab6 Changed the csvdiff default to return 0 on a successful test not 1.
Then I changed all the test problems to follow the new default.
2010-04-02 17:44:55 +00:00
Harry Moffat
9023c30cd8 took out an unused command from the clean rule. 2010-02-09 19:44:37 +00:00
Harry Moffat
2c712b8c56 Merges from the Trunk. 2009-12-06 19:25:59 +00:00
Harry Moffat
35e4c9ea45 Turned on Keyword substition in all files. 2009-11-09 23:36:49 +00:00
Harry Moffat
10ab1af013 Added memory release statements. 2009-10-06 14:37:45 +00:00
Harry Moffat
15c9ca0294 Merged Revisision_1.8.0 changes into the trunk. 2009-09-22 17:26:18 +00:00
Harry Moffat
0742f3f601 Took the Makefile out of the distribution and made it an
ignore file.
2009-09-22 16:55:07 +00:00
Harry Moffat
f28e01aa23 Slight updates to the blessed files. 2009-09-22 16:17:52 +00:00
Harry Moffat
2bd7816b65 Added in a model for the thermal conductivity of pure water
at all T and P.
Added in a test for the new model.
2009-09-16 02:13:43 +00:00
Harry Moffat
5009a3817f Added a viscosity model into WaterTransport.cpp for pure water
Added a test problem for the viscosity model.
Updated WaterSSTP object to support the use of WaterTransport 
with the object.
2009-09-15 21:46:44 +00:00
Harry Moffat
5d50aeef0e Modified the test for the current development work. 2009-09-15 17:33:49 +00:00
Harry Moffat
b4ea13ebd6 Modified the test for the current developement work. 2009-09-15 17:33:13 +00:00
Harry Moffat
910f319223 Adding a single test 2009-09-11 23:42:03 +00:00