/[ascend]/trunk/ascend/utilities/test/test_ascSignal.c
ViewVC logotype

Log of /trunk/ascend/utilities/test/test_ascSignal.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2535 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 26 00:19:50 2012 UTC (10 years, 5 months ago) by jpye
File length: 17983 byte(s)
Diff to previous 2509
New implementation of signal handler stacks, less code.
Fixed one issue with utilities_ascSignal test cases, but can't work out reason for the other.

Revision 2509 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 9 04:12:47 2011 UTC (10 years, 8 months ago) by jpye
File length: 17257 byte(s)
Diff to previous 2346
Suppress some debug output for ctests.

Revision 2346 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 5 09:24:59 2011 UTC (11 years, 6 months ago) by jpye
File length: 17207 byte(s)
Diff to previous 2323
Merged back changes from branches/cunitupdate, and added -l and -t flags for the test executable for listing available tests.

Revision 2323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:35:43 2010 UTC (11 years, 6 months ago) by jpye
File length: 17535 byte(s)
Diff to previous 2322
Refactor some more stuff from 'utilities' into 'general' with goal that 'general' never refers to 'utilities'.

Revision 2322 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:12:36 2010 UTC (11 years, 6 months ago) by jpye
File length: 17538 byte(s)
Diff to previous 2273
Refactoring ascMalloc.h, mem.h to belong in 'general' with goal of having no references in 'general' to functions in 'utilities'.

Revision 2273 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 9 04:42:16 2010 UTC (11 years, 10 months ago) by jpye
File length: 17540 byte(s)
Diff to previous 2018
A little bit more debug output in test_ascSignal.c... some tests seem to be failing.

Revision 2018 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 29 03:38:10 2009 UTC (13 years, 2 months ago) by jpye
File length: 17020 byte(s)
Diff to previous 2011
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.

Revision 2011 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 28 08:58:48 2009 UTC (13 years, 2 months ago) by jpye
File length: 16999 byte(s)
Diff to previous 1643
Moving libascend components from #/base/generic into #/ascend

Revision 1643 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 13 11:27:37 2007 UTC (14 years, 7 months ago) by jpye
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 16999 byte(s)
Diff to previous 1233
Renamed tests with shorter names, added some common macros in base/generic/test/common.h.

Revision 1233 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 13:00:07 2007 UTC (15 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 17009 byte(s)
Diff to previous 1143
Reverting to old ascSignal test suite.

Revision 1143 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 06:58:12 2007 UTC (15 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 23959 byte(s)
Diff to previous 1004
Fixed test suite for case where !defined(ASC_SIGNAL_TRAPS)

Revision 1004 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 31 03:45:13 2006 UTC (15 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 23831 byte(s)
Diff to previous 1003
Still haven't worked out what's wrong with test_ascSignal.c. (line 605 just won't raise the signal!)

Revision 1003 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 31 02:35:27 2006 UTC (15 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 23355 byte(s)
Diff to previous 1002
Some progress on fixing test_ascSignal.c

Revision 1002 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 30 14:27:47 2006 UTC (15 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 22700 byte(s)
Diff to previous 997
Some work on fixing error with test_ascSignal.
Breaking down into smaller test cases.
Removed some debug output from detection of ASC_RESETNEEDED.
Changed all calls 'signal' to 'SIGNAL' macro that includes optional debug output.
Removed 'libasctest.so' (made part of libasctestsuite.so FWIW)
Fixed big in test.c wrt CUEA_ABORT.
Added 'print_stack' and 'Asc_SignalPrintStack' and 'Asc_SignalStackLength'.


Revision 997 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 24 01:33:59 2006 UTC (15 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 17215 byte(s)
Diff to previous 956
Refactored tests into a shared library of tests and a executable of
just the CUnit driver. This will allow the CUnit test suite to be executed via
python unittest as part of the growing Python-based test suite.
Renamed setjmp and longjmp to SETJMP and LONGJMP throughout ASCEND, to allow
some debugging output to be added at each call.

Revision 956 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 9 15:38:05 2006 UTC (15 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 17215 byte(s)
Diff to previous 953
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 953 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 7 14:47:15 2006 UTC (15 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 17009 byte(s)
Diff to previous 399
Added test for C99 FPE handling
Fixing mess-up of ChildByChar in arrayinst.h header.
Added 'safeeval' config option to IDA.
Changed 'SigHandler' to 'SigHandlerFn *' in line with other function pointer datatypes being used in ASCEND.
Moved processVarStatus *after* 'Failed integrator' exception (ongoing issue).

Revision 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 31 08:52:57 2006 UTC (16 years, 3 months ago) by johnpye
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 16997 byte(s)
Diff to previous 102
Normalised all #include statements so that files in the current directory
are included as "localfile.h" and files in other directories are included as
<directory/file.h>
This is in accordance with the spec at
http://gcc.gnu.org/onlinedocs/gcc-4.1.0/cpp/Include-Syntax.html#Include-Syntax

Revision 102 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 10 13:53:20 2005 UTC (16 years, 6 months ago) by jds
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 16997 byte(s)
Diff to previous 100
Reworked internal ascSignal handler storage.  
Was using gl_lists, which ought not be used for function pointers.  Changed to local array implementation.  Eliminated compiler warnings related to object pointer - function pointer mismatch.  Passed regression test on Win32.

Revision 100 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 9 23:25:15 2005 UTC (16 years, 6 months ago) by jds
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 17292 byte(s)
Diff to previous 61
ascMalloc now working on Linux.
Fixed minor bugs in ascPanic.c, test suite functions.

Revision 61 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 14 02:37:20 2005 UTC (16 years, 7 months ago) by jds
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 17292 byte(s)
Diff to previous 60
Minor bug fixes, extend unit tests to solver:

minor doc changes - compiler/func.h, general/list.h, solver/mtx.h, utilities/mem.h
solver/example - upgraded examples so they run under current system
solver/slv_common.[ch] - added unit tests, minor bug fixes, extended vector_data functions
utilities/ascDynaLoad.c - bug fix on *nix so dlopen, dlsym not called with NULL arguments

Revision 60 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 31 03:39:15 2005 UTC (16 years, 8 months ago) by jds
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 17093 byte(s)
Diff to previous 59
- jam build up and limping on Linux (finally).
- fixes to CUnit test suite to compile on Linux (still not operable, though).

Revision 59 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sun Oct 30 01:38:20 2005 UTC (16 years, 8 months ago) by jds
Original Path: trunk/base/generic/utilities/test/test_ascSignal.c
File length: 17069 byte(s)
- prototype unit test suite based on CUnit added.
- unit tests for base/generic/general and base/generic/utilites added.
- 2nd manual rework of doxygen documentation in general and utilities.
- bug fixes (mostly general & utilities) found during test development.
- added asc_assert prototype to redirect failures to Asc_Panic() and enable decoupling assertions from NDEBUG.
- some modifications of interface & implementation to facilitate testing.
- utilities/ascPrint & utilities/ascMalloc functions now always included in base libs to minimize recompilation when an interface chooses different options.

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