/[ascend]/trunk/pygtk/test.py
ViewVC logotype

Log of /trunk/pygtk/test.py

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 1100)

Revision 1043 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 06:24:59 2007 UTC (12 years, 11 months ago) by johnpye
File length: 19368 byte(s)
Diff to previous 1042
Fixed PyGTK GUI for case where syntax errors in command-line-specified file are found.
Fixed 'reload' behaviour for above case also.
Fixed satsteam test cases.

Revision 1042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 04:53:38 2007 UTC (12 years, 11 months ago) by johnpye
File length: 19077 byte(s)
Diff to previous 1039
Added saturated steam routines (taked from IAPWS 'supsat.pdf')
Added test case TestSteam for evaluating iapwssatprops.a4c documented test cases.

Revision 1039 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 23:21:20 2007 UTC (12 years, 11 months ago) by johnpye
File length: 18587 byte(s)
Diff to previous 1037
Fixed up some #includes in compiler .[ch] files.
Switched instantiate.c to using 'asc_assert' instead of 'assert'.
Added some missing GPL headers in C++ code.
Silenced some slv3.c debug output.
Switch void-return to int-return in slv9_presolve etc (slv9.c)
Attemping to fix solvernotes.py for the commandline environment (browser==None)
Removed redundant solve(SELF) in thermalequilibrium2.a4c.
Some error reporting from addone_calc (extfntest.c).
Expanded test size in extrelfor.a4c.
Big rearrangement of bboxtest.c for top-down style.
Fixed TestFreesteam.testintegrator, added end-value checks.


Revision 1037 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 08:11:55 2007 UTC (12 years, 11 months ago) by johnpye
File length: 17601 byte(s)
Diff to previous 1035
Fixed a few more TestBlackBox test cases.

Revision 1035 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 07:35:22 2007 UTC (12 years, 11 months ago) by johnpye
File length: 17518 byte(s)
Diff to previous 1034
Softened error from bintoken.c
Improved error reporting in instantiate.c
Rearranged #includes in relation_util.[ch]
Changed to asc_assert in relman.c
Lots of fixed in slv3.c to get reporting of 'calc_ok' right.
Also some better error reporting from slv3.c.
Fixed usage info for error_reporter_tree_start().
Improved error/status reporting from bboxtest.c.
Set PyGTK GUI to correctly catch ::solve errors.
Improved reporting about when solver fails (diverged, inconsistent, exceeded time/iters)
Fixed TestBlackBox.testfail1 and TestBlackBox.testfail2.
Fixed type.cpp to throw errors when instantiation fails.

Revision 1034 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 05:37:55 2007 UTC (12 years, 11 months ago) by johnpye
File length: 17453 byte(s)
Diff to previous 1032
Switch 'void slv_*' function to output a 0-on-success error flag.
Added some debug output to ensure that such output gets through.
Fixed TestBlackBox.testfail1 to work, using above changes.
Simulation::solve now throws an exception on failure (will need to modify PyGTK GUI accordingly)

Revision 1032 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 01:51:38 2007 UTC (12 years, 11 months ago) by johnpye
File length: 17321 byte(s)
Diff to previous 1028
Added a necessary export symbol in extcall for used by bboxtest.
Broke apart Ben's z-bbox test suite and added it to the Python tests.

Revision 1028 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 13:26:54 2007 UTC (12 years, 11 months ago) by johnpye
File length: 13519 byte(s)
Diff to previous 1026
Added missing dl import in test library (hoping to fix SunOS problem)

Revision 1026 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 12:03:08 2007 UTC (12 years, 11 months ago) by johnpye
File length: 13407 byte(s)
Diff to previous 1024
Working on tracking down a segfault occuring when TestIDADENSE and TestExtFn test suites are run together.
Added comments about new solverparameter macros.

Revision 1024 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 10:27:43 2007 UTC (12 years, 11 months ago) by johnpye
File length: 13323 byte(s)
Diff to previous 1022
Added extfn and extpy to python test suites.

Revision 1022 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 08:37:14 2007 UTC (12 years, 11 months ago) by johnpye
File length: 12657 byte(s)
Diff to previous 1021
Relaxed assertions in TestIDADENSE.testdenx

Revision 1021 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 07:40:24 2007 UTC (12 years, 11 months ago) by johnpye
File length: 12658 byte(s)
Diff to previous 1018
Fixing problem with float evaluation of Instance objects.
Added TestExtFn suite.

Revision 1018 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 06:44:39 2007 UTC (12 years, 11 months ago) by johnpye
File length: 12141 byte(s)
Diff to previous 1017
Fixing ImportError typo

Revision 1017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 06:40:21 2007 UTC (12 years, 11 months ago) by johnpye
File length: 12073 byte(s)
Diff to previous 1016
Added optional 'freesteam' test.
Fixed GTK+ dependency via TestIDADENSE.testdenx and M.solve(...)

Revision 1016 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 05:56:12 2007 UTC (12 years, 11 months ago) by johnpye
File length: 10890 byte(s)
Diff to previous 1009
Fixed a silly bug with IDACalcIC.
Disabled all SPGMR tests from the python test suite.
All active tests in the Python tests should now be passing (24 tests currently)

Revision 1009 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 2 12:10:53 2007 UTC (12 years, 11 months ago) by johnpye
File length: 10803 byte(s)
Diff to previous 1008
Fixing TestIDA.testdenx test case.
Removing some debug output from ida.c.

Revision 1008 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 2 11:45:24 2007 UTC (12 years, 11 months ago) by johnpye
File length: 10802 byte(s)
Diff to previous 1003
Fixed bug with memory deallocation for partitioner in ida.c
Silenced some debug output in ascSignal.c
Fixed execution of Python test suite (CUnit tests will need more work before running via this approach)

Revision 1003 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 31 02:35:27 2006 UTC (12 years, 11 months ago) by johnpye
File length: 10887 byte(s)
Diff to previous 998
Some progress on fixing test_ascSignal.c

Revision 998 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 30 06:05:48 2006 UTC (12 years, 11 months ago) by johnpye
File length: 10953 byte(s)
Diff to previous 993
Fixed some memory leaks in ospath.c and test_ospath.c.

Revision 993 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 22 11:03:51 2006 UTC (12 years, 11 months ago) by johnpye
File length: 10933 byte(s)
Diff to previous 992
Added Matrix Market export routines (from math.nist.gov).
Added necessary build commands for above.
Work on Jacobi preconditioner for IDA (ongoing)
Set integrator_analye to make a call to slv_block_partition. Not sure if that's a good idea or not.
Tidied up comments in linsol.h
Moved unnecessary #defines from model_reorder.h into model_reorder.c.
Cleaned up codedocs in mtx*.h
Added WITH_MMIO config.h flag.


Revision 992 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 13:37:45 2006 UTC (12 years, 11 months ago) by johnpye
File length: 10896 byte(s)
Diff to previous 991
Added support for preconditioner in IDA module. Not quite sure what to put inside it yet though.

Revision 991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 10:44:32 2006 UTC (12 years, 11 months ago) by johnpye
File length: 10866 byte(s)
Diff to previous 990
Added IDA 'MAXNCF' option.
Added TestIDA.testlotkaDENSE.

Revision 990 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 07:12:58 2006 UTC (12 years, 11 months ago) by johnpye
File length: 10242 byte(s)
Diff to previous 985
Added TestIDA.testkryxDENSE which seems to work OK.

Revision 985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 04:06:02 2006 UTC (12 years, 11 months ago) by johnpye
File length: 9586 byte(s)
Diff to previous 980
Trying to get idakryx example working.
Better reporting of failures from IDACalcIC.

Revision 980 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 20 23:23:50 2006 UTC (12 years, 11 months ago) by johnpye
File length: 9554 byte(s)
Diff to previous 979
Fixed detection of libpython on Windows.
Fixed TestLSODE.testlotka test.py
Removed a sundials_dense.h assertion under windows.

Revision 979 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 20 14:34:16 2006 UTC (12 years, 11 months ago) by johnpye
File length: 9574 byte(s)
Diff to previous 976
Added simplified ASC_PANIC call that uses var-args, added throughout relation_util.c.
Fixed var_filter_t stuff in djex and fvex.
More assertions in integrator.c
Added output of initial state from lsode.c (hoping that's a good idea?)
Fixed output code from relman_diff2.
Added asc_panic_nofunc for non var-arg CPPs.
Disabled -O3 flag in building C++ API
Added __getitem__ and __getattr__ methods in Simuluation for simplified python syntax (eg M.x instead M.sim.x)
Integrator::analyse throws exceptions on error now.


Revision 976 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 13:52:51 2006 UTC (12 years, 11 months ago) by johnpye
File length: 8426 byte(s)
Diff to previous 975
Improved line/file/func reporting via Asc_Panic, using CPP var-arg macros under GCC.
Added ASC_ASSERT_LT and ASC_ASSERT_EQ assertion macros.
Tracking down a crash in IDA (ongoing).

Revision 975 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 11:49:59 2006 UTC (12 years, 11 months ago) by johnpye
File length: 8414 byte(s)
Diff to previous 974
Fixed bug with Compute_J (using NumberRels instead of slv_get_number_solvers_rels).
Added GPL header to sensitivity.c.
Renamed IDA test cases.

Revision 974 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 11:00:57 2006 UTC (12 years, 11 months ago) by johnpye
File length: 8429 byte(s)
Diff to previous 973
Fixed 'testcmslv2' test case.
Fixed 'sunpos5' test case.
One can now type 'python test.py TestSolver' and all current tests pass.

Revision 973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 10:48:38 2006 UTC (12 years, 11 months ago) by johnpye
File length: 8418 byte(s)
Diff to previous 972
Fixed the 'repeated test' bug (a static pointer to a destroyed symchar was being used in type.cpp)
Improved error reporting for 'not a refined solver_var' message.
Refactors Library::listModules and Library::getModules to use shared code.
TODO: find a more efficient solution to the static pointer problem above.

Revision 972 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 07:55:02 2006 UTC (12 years, 11 months ago) by johnpye
File length: 8393 byte(s)
Diff to previous 970
Fixed a bug with initial time step in IDA (and added a checking asc_assert)
Added switch to turn on and off 'IDACalcIC'.
Changed 'already loaded' ASC_PROG_ERR into ASC_PROG_WARN (so that repeated 'IMPORT' doesn't cause problems)
Removed unnecessary solver tricks from shm.a4c (for easier debugging of Integrator API)
Widened self_test limits in zill.a4c.
Some more debugging in simulation.cpp.
Breaking down test.py into smaller test classes (thinking about moving it to its own directory)

Revision 970 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 02:39:54 2006 UTC (12 years, 11 months ago) by johnpye
File length: 7693 byte(s)
Diff to previous 967
Adding missing 'aww.*' files for Art's DAE integrator.
Adding 'maxl' (Maximum Krylov dimension) option to IDA.

Revision 967 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 14 14:14:54 2006 UTC (13 years ago) by johnpye
File length: 7666 byte(s)
Diff to previous 966
Moved non-functioning CUnit tests to bottom of python test.py

Revision 966 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 14 14:04:54 2006 UTC (13 years ago) by johnpye
File length: 7666 byte(s)
Diff to previous 964
Cleaned up code comments in units.h
Fixed a bug with starting timesteps in LSODE (i think)
Added function to output a SampleList to the console (for debugging)
Removed debug output from base/generic/test/SConscript.
Removed 'custom' headers for UnitsM in ascpy.i
Made a sane default ctor for UnitsM
Added some more test cases to the Python unittest suite (still a problem running multiple solver-based tests in a single run)

Revision 964 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 12 14:34:18 2006 UTC (13 years ago) by johnpye
File length: 6702 byte(s)
Diff to previous 963
Added a test method to run a integration with one variable (a numerical example from the text by Zill)

Revision 963 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 12 13:36:52 2006 UTC (13 years ago) by johnpye
File length: 6314 byte(s)
Diff to previous 962
Added ATOLVECT, RTOLVECT parameters to LSODE
Fixed silly bug in testing of newton.a4c
Text changes in ida.c.

Revision 962 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 11 14:43:02 2006 UTC (13 years ago) by johnpye
File length: 6083 byte(s)
Diff to previous 961
Adding more LSODE test cases.
Removing some 'error tree' debug output.
Added RTOLDEF and ATOLDEF parameters to LSODE (and fixed a bug relating to integrator_lsode_params_default).

Revision 961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 11 14:04:13 2006 UTC (13 years ago) by johnpye
File length: 5600 byte(s)
Diff to previous 956
Fixed a silly bug with Integrator::setEngine.
Added test case for lotka.a4c to test.py

Revision 956 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 9 15:38:05 2006 UTC (13 years ago) by johnpye
File length: 5127 byte(s)
Diff to previous 952
Removed references to 'ASC_BIG_BUGMAIL' and 'ASC_MILD_BUGMAIL'
Disabled stream redirection functions (they were making testing difficult)
Re-wrote the main test-runner to permit specific tests to be run from the commandline (ongoing)
Disabled readln tests that required stream redirection.

Revision 952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 28 23:01:50 2006 UTC (13 years ago) by johnpye
File length: 5131 byte(s)
Diff to previous 951
Pruned some debug messages from integrator.c, ida.c.
Improved exception messages from SolverParameter class.
Added array access functions to Instanc class (ongoing).
Attempting to run CUnit tests from the Python test suite (not successful, ongoing).
Cleaned up some headers, license notices, doxy docs, etc.
Fixed wrong #include <dmalloc.h> in ascpy.i (thanks Krishnan).

Revision 951 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 26 05:01:49 2006 UTC (13 years ago) by johnpye
File length: 4462 byte(s)
Diff to previous 950
Added 'GSMODIFIED' parameter to IDA implementation.
Working on getting the idadenx model to converge using the SPGMR solver.

Revision 950 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 26 03:14:02 2006 UTC (13 years ago) by johnpye
File length: 3621 byte(s)
Diff to previous 946
Completed adding idadenx to test suite.
Restored behaviour of mxstep to IDA.

Revision 946 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 15:28:56 2006 UTC (13 years ago) by johnpye
File length: 3605 byte(s)
Diff to previous 945
Found bug in integrator_analyse_dae... ongoing

Revision 945 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 12:41:03 2006 UTC (13 years ago) by johnpye
File length: 3605 byte(s)
Diff to previous 944
Fixed a bug in slv_param_char.
More work on IDA ongoing.

Revision 944 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 10:46:13 2006 UTC (13 years ago) by johnpye
File length: 3450 byte(s)
Diff to previous 943
Implemented ATOLVECT, ATOL, RTOL parameters for the IDA integrator.

Revision 943 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 06:32:51 2006 UTC (13 years ago) by johnpye
File length: 3314 byte(s)
Diff to previous 942
Some bugs fixed with SolverParameterIter

Revision 942 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 05:26:47 2006 UTC (13 years ago) by johnpye
File length: 2900 byte(s)
Diff to previous 941
Incorporated 'SolverParameters' functionality into 'Integrator', both at C level and C++/Python.
This shouldn't break Tcl/Tk as default parameters will be set and used invisibly.

Revision 941 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 10:46:32 2006 UTC (13 years ago) by johnpye
File length: 1976 byte(s)
Diff to previous 940
Changed integrator_set_engine to return 0 on success.
Fixed Integrator::setEngine to throw range_error / IndexError on invalid selection.
Test suite contains testIDA that works now (more tests yet to come)

Revision 940 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 08:07:33 2006 UTC (13 years ago) by johnpye
File length: 1282 byte(s)
Diff to previous 938
Fixed 'testLSODE' in test.py, added 'IntegratorReporterNull' that makes no output (for testing purposes)

Revision 938 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 06:09:46 2006 UTC (13 years ago) by johnpye
File length: 1155 byte(s)
Diff to previous 933
Added support for dmalloc (http://dmalloc.com)
Added Integrator::setEngine(string name)
Minor other stuff.

Revision 933 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 22:28:00 2006 UTC (13 years ago) by johnpye
File length: 847 byte(s)
Diff to previous 932
Fixed some bugs with error_reporter_tree, and with error_callback in gtkbrowser.py

Revision 932 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 13:23:33 2006 UTC (13 years ago) by johnpye
File length: 874 byte(s)
Diff to previous 931
Working on bugs in the 'error_reporter_tree' stuff.
Removed binary files from base/generic/utilities/test (these are built as needed by SCons now)

Revision 931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 04:31:19 2006 UTC (13 years ago) by johnpye
File length: 457 byte(s)
Diff to previous 930
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.

Revision 930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 13:09:09 2006 UTC (13 years ago) by johnpye
File length: 452 byte(s)
Diff to previous 690
solve.py raises ImportError if 'browser' object is not available (right approach?)
Freeing some variables in dsgsat2.a4c.
Returing Py_None from extpy routine in 'browser' object not defined (eg during non-GUI unit testing)
Error reporting from extpy import handler (ongoing)
Timeout in versioncheck (when server unavailable)
A little more tinkering with IDA.

Revision 690 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 22 00:48:31 2006 UTC (13 years, 5 months ago) by johnpye
File length: 273 byte(s)
Diff to previous 689
Converting some line endings to unix form as part diagnosing the problem
with the current merge from the DAE branch.

Revision 689 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 22 00:19:54 2006 UTC (13 years, 5 months ago) by johnpye
File length: 330 byte(s)
Diff to previous 669
Added suppression of 'unexpected char' (scanner) and 'generic' (parser) errors.
Removed 'DIFF' stuff from parser and scanner. (It's still in expr_types.h and elsewhere)
Added test case to detect this scanner problem.

Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Jun 21 07:00:45 2006 UTC (13 years, 5 months ago) by johnpye
File length: 138 byte(s)
Merged changes from DAE branch (revisions 702 to 819) back into trunk.
This adds the Integration API to the ASCEND solver (in base/generic).
Also provides pre-alpha support for 'IDA' from the SUNDIALS suite, a DAE solver.
Many other minor code clean-ups, including adoption of new 'ASC_NEW' and friends (to replace 'ascmalloc')
Added some very sketchy stuff providing 'DIFF(...)' syntax, although it is anticipated that this will be removed.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22