Commit graph

159 commits

Author SHA1 Message Date
rfm
c7b5fa3a19 Portability tweak 2025-03-10 20:52:32 +00:00
rfm
0bda6500e8 Remove non-portable 's' suffix to sleep timeout. 2025-03-10 20:40:29 +00:00
Richard Frith-Macdonald
de77a9693f Fix result status when waiting for testcase 2025-03-09 17:32:21 +00:00
rfm
199b1eb071 Portability fix ... use internal bash features to implement timeout rather
that the external 'timeout' program which if not generally available.
2025-03-09 17:21:23 +00:00
rfm
96febdc8eb Fixup timestmap info 2025-03-09 16:20:50 +00:00
Richard Frith-Macdonald
8a2bc0b214 Changes for OSX 2025-03-09 16:11:28 +00:00
Richard Frith-Macdonald
4602023a70 Add ENTER_POOL and LEAVE_POOL 2025-03-09 10:47:03 +00:00
rfm
a613c2668c Report execution time for each test file 2025-01-17 11:48:49 +00:00
rfm
1493a378c7 Do not use zombies when using ASAN and leak checking 2025-01-09 11:37:21 +00:00
rfm
d739198f1d Add --asan and set leaked fiels to give a 23 exit code 2024-11-30 14:24:50 +00:00
rfm
2b67e39517 Update ASAN support 2024-11-30 14:09:20 +00:00
rfm
4074b9f8d3 Fix leaked exception 2024-11-18 19:19:47 +00:00
rfm
da6b90528e allow timeout to be set from environment 2024-11-18 12:45:11 +00:00
rfm
2ee48ebe21 Don't try to release object which may have been released already 2024-11-14 17:01:13 +00:00
rfm
27cbcbf6ca Release objects when we are done with them. 2024-11-14 16:17:32 +00:00
hmelder
c6a561d713 Add test timeouts 2024-09-09 19:46:07 +02:00
Wolfgang Lux
1d48b14ff3 Only return plain files when looking for test cases 2024-08-20 19:15:51 +02:00
rfm
95d706bdb8 Fixup for failure to detect failed builds 2024-07-31 10:55:54 +01:00
rfm
d5002f8405 Improve error message when bash is not available 2023-12-12 20:06:02 +00:00
rfm
2e99da71ef allow configure without bash ... abort tests at runtime 2023-12-12 19:58:02 +00:00
Hugo Melder
5ee21206a8
Windows MSVC debug symbols, gnustep-tests extension, and typo fixes (#30)
* Conditionally add PDB Debug Info on Windows MSVC

* Add make debug and no-silent options

* Update gnustep-tests help prompt
2023-01-09 23:30:22 +01:00
Richard Frith-Macdonald
6b6217fb14 Make sure test framework is in the include path 2022-12-23 10:19:23 +00:00
Richard Frith-Macdonald
626971095f Fix occasional loss of pass/fail output 2022-12-05 10:58:38 +00:00
Richard Frith-Macdonald
3b1d8035b2 Fix uninitialised variable in test 2022-12-05 10:35:49 +00:00
Hugo Melder
d46255b681 Find a compatible debugger 2022-08-02 18:35:28 +02:00
Hugo Melder
1b247a9b4c Conditionally use strncpy_s on MSVC 2022-08-02 17:46:37 +02:00
Hugo Melder
360ec400bc Conditionally use strncpy_s on MSVC 2022-08-02 16:34:18 +02:00
Hugo Melder
ea58b898e9 Create DEBUGGER variable 2022-08-02 16:26:35 +02:00
Richard Frith-Macdonald
5e9818204b Avoid output from TestInfo script breaking things 2022-03-01 13:57:56 +00:00
Richard Frith-Macdonald
fd76f00ab8 Unless --failfast is specified, all test files should be executed. 2022-02-16 09:29:58 +00:00
Richard Frith-Macdonald
d637bdbbb3 fix typo referencing variable 2022-01-31 15:35:46 +00:00
Richard Frith-Macdonald
e0cd6bf36e log file hamdling tweaks 2022-01-31 13:35:40 +00:00
Richard Frith-Macdonald
f3df026023 create new files 2022-01-27 17:06:50 +00:00
Richard Frith-Macdonald
d4e31a7b0a Improve cleanup 2022-01-27 14:54:35 +00:00
Richard Frith-Macdonald
385ac92961 Improve cleanup of log files 2022-01-27 10:48:51 +00:00
Richard Frith-Macdonald
9129f9e786 Add testcase support for concurrency, ordering control, repetition. 2022-01-26 22:16:04 +00:00
Frederik Seiffert
93c893bcde Add workaround for Clang bug on Windows MSVC 2021-07-02 17:22:54 +02:00
Frederik Seiffert
0ae54f11da Fixed import in Testing.h.
The code uses NSCalendarDate but was only importing NSDate.h.
2021-03-13 09:42:15 +01:00
Richard Frith-Macdonald
5b47b25b28 fix incorrect check of the value of GSTEST_TS 2021-02-15 10:00:44 +00:00
Richard Frith-Macdonald
e2df3f4a19 Add per-testcase timestamps with an option to disable them 2021-02-15 09:52:22 +00:00
Richard Frith-Macdonald
96e81d23c6 fixup for near-equality test 2020-07-31 14:58:21 +01:00
Richard Frith-Macdonald
a0d45d5a17 make scripts executable 2018-06-27 09:21:44 +01:00
Richard Frith-Macdonald
c80f35fb7b Improve documentation with examples of pre and post testing scripts. 2018-06-27 08:54:39 +01:00
Richard Frith-Macdonald
fd12d1bc5d Replace missing 'then', lost in last commit 2018-04-13 11:04:37 +01:00
Richard Frith-Macdonald
56f7fb1a06 Use 'make maessages=yes' when invoked with --verbose 2018-03-22 17:24:31 +00:00
Richard Frith-MacDonald
d318deabb0 Add attribute to suppress compiler warning if we don't use sets
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39907 72102866-910b-0410-8b05-ffd578937521
2016-06-22 14:34:50 +00:00
Richard Frith-MacDonald
309a862c23 avoid a few warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39761 72102866-910b-0410-8b05-ffd578937521
2016-05-14 09:13:47 +00:00
Richard Frith-MacDonald
c5a8a00a7a Minor tweaks and define USE_ARC if the compiler supports it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39751 72102866-910b-0410-8b05-ffd578937521
2016-05-13 09:53:44 +00:00
Richard Frith-MacDonald
1a4df24526 remove garbage collection support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39605 72102866-910b-0410-8b05-ffd578937521
2016-03-25 10:02:54 +00:00
Richard Frith-MacDonald
0d020a79ca include string.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39498 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:58:47 +00:00