Skip to content

Commit 97fc966

Browse files
Terse macros (#42)
* ~ ignores * ~ all scratch-test entry-point source file names standardised * + added terse forms of macros, available by including **xtests/terse-api.h** * Merged 'env-edits' into 'env' Squashed commit of the following: commit c536d64742d96df26887394185d625ac029a306c Author: Matt Wilson <[email protected]> Date: Sat Nov 23 10:20:56 2024 +1100 ~ updated **STLSoft** constructs, incl. macros commit 2a4a1636607aefc948ecd708ba48dac84dfe2e94 Author: Matt Wilson <[email protected]> Date: Sat Nov 23 10:25:09 2024 +1100 ~ layout * ~ preparatory changes * ~ boilerplate * Merged 'dev' into 'terse-macros' Squashed commit of the following: commit 1083e94 Author: Matt Wilson <[email protected]> Date: Sat Nov 23 16:40:31 2024 +1100 ~ commit commit cf1e7e3 Author: Matt Wilson <[email protected]> Date: Sat Nov 23 16:37:33 2024 +1100 Environment variable (for verbosity) (#41) * Merged 'env-edits' into 'env' Squashed commit of the following: commit c536d64742d96df26887394185d625ac029a306c Author: Matt Wilson <[email protected]> Date: Sat Nov 23 10:20:56 2024 +1100 ~ updated **STLSoft** constructs, incl. macros commit 2a4a1636607aefc948ecd708ba48dac84dfe2e94 Author: Matt Wilson <[email protected]> Date: Sat Nov 23 10:25:09 2024 +1100 ~ layout * ~ preparatory changes * `XTESTS_COMMANDLINE_PARSE_VERBOSITY()` now also recognises, if the command-line argument `"--verbosity= . . ."` is not found, the enviroment variables `"XTESTS_VERBOSITY"` and `"TEST_VERBOSITY"` commit 6620ce6 Author: Matt Wilson <[email protected]> Date: Sat Nov 23 16:35:44 2024 +1100 ~ improved boilerplate (#39) --------- Co-authored-by: Matt Wilson <[email protected]>
1 parent 1083e94 commit 97fc966

File tree

23 files changed

+960
-27
lines changed

23 files changed

+960
-27
lines changed

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,13 @@
2424
/include/shwild/
2525
/include/xcontract/
2626
/include/xcover/
27-
/include/xtests/
2827

2928
/src/b64/
3029
/src/cstring/
3130
/src/recls/
3231
/src/shwild/
3332
/src/xcontract/
3433
/src/xcover/
35-
/src/xtests/
3634

3735
Debug Multithreaded DLL/
3836
Debug Multithreaded Dll/

CHANGES.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ xTests - Changes
22
================
33

44
Created: 22nd February 2008
5-
Updated: 14th July 2024
5+
Updated: 23rd November 2024
66

77

88
************************************
@@ -19,6 +19,7 @@ Updated: 14th July 2024
1919
23rd November 2024 - 0.26.0-alpha1
2020
==================================
2121

22+
* added terse forms of macros, available by including **xtests/terse-api.h**;
2223
* `XTESTS_COMMANDLINE_PARSE_VERBOSITY()` now also recognises, if the command-line argument `"--verbosity= . . ."` is not found, the enviroment variables `"XTESTS_VERBOSITY"` and `"TEST_VERBOSITY"`;
2324
* updated **STLSoft** constructs, incl. macros;
2425
* minor improvements to project boilerplate files;

HISTORY.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
23rd November 2024 - 0.26.0-alpha1
55
----------------------------------
66

7+
* added terse forms of macros, available by including **xtests/terse-api.h**;
78
* `XTESTS_COMMANDLINE_PARSE_VERBOSITY()` now also recognises, if the command-line argument `"--verbosity= . . ."` is not found, the enviroment variables `"XTESTS_VERBOSITY"` and `"TEST_VERBOSITY"`;
89
* updated **STLSoft** constructs, incl. macros;
910
* minor improvements to project boilerplate files;

include/xtests/terse-api.h

+375
Large diffs are not rendered by default.

test/scratch/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SIS:AUTO_GENERATED: Remove this line if you edit the file, otherwise it will be overwritten
22
add_subdirectory(test.scratch.basics1)
33
add_subdirectory(test.scratch.basics2)
4+
add_subdirectory(test.scratch.basics2.terse)
45
add_subdirectory(test.scratch.fail_all.1)
56
add_subdirectory(test.scratch.integer_comparisons.c)
67
add_subdirectory(test.scratch.setup.fail)
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# SIS:AUTO_GENERATED: Remove this line if you edit the file, otherwise it will be overwritten
2-
define_automated_test_program(test.scratch.basics1 test.scratch.basics1.c)
2+
define_automated_test_program(test.scratch.basics1 entry.c)

test/scratch/test.scratch.basics1/test.scratch.basics1.c test/scratch/test.scratch.basics1/entry.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/* /////////////////////////////////////////////////////////////////////////
2-
* File: test.scratch.basics1.c
2+
* File: test.scratch.basics1/entry.c
33
*
44
* Purpose: Illustrates various xTests facilities available to C code.
55
*
66
* Created: 15th December 2007
7-
* Updated: 29th September 2024
7+
* Updated: 20th November 2024
88
*
99
* ////////////////////////////////////////////////////////////////////// */
1010

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SIS:AUTO_GENERATED: Remove this line if you edit the file, otherwise it will be overwritten
2+
define_automated_test_program(test.scratch.basics2.terse entry.cpp)

0 commit comments

Comments
 (0)