commit b638044ea2cf31ebaa7acb1353cd1e569306ec6f from: Sven M. Hallberg date: Mon May 26 10:35:18 2025 UTC test.h: remove colons from output As a side effect, this makes the test output clean TSV. This version matches project sc2 (git): commit 7e054f3208ac703dda195f3d0c49bf53e781ebc2 from: Sven M. Hallberg date: Sat Dec 28 16:17:19 2024 UTC The change was initially recorded in project rx (darcs): patch 31afcfda494ef1937d8019360c9cc1ba1c4ef3c2 Author: pesco@khjk.org Date: Sat Dec 28 16:15:49 UTC 2024 commit - 52995679522f2b6c99ff43aa8a9d35f3fb3e68ee commit + b638044ea2cf31ebaa7acb1353cd1e569306ec6f blob - d907093070afcc952832df4461952aa38419c021 blob + 496d1d22a850d0a069918cd8be2b1b718a34753b --- lang/c/test.h +++ lang/c/test.h @@ -76,15 +76,15 @@ * To run only the 'bar' family of tests: * * $ ./test bar - * bar(0xff): OK + * bar(0xff) OK * test.c:11: condition failed: (0x10 & mask) != 0 - * bar(0x0f): FAIL + * bar(0x0f) FAIL * * Running 'foo' and 'bar(0xff)': * * $ ./test foo bar\(0xf - * foo(): OK - * bar(0xff): OK + * foo() OK + * bar(0xff) OK * * A list or count of available tests can be produced by combining verbose * mode with an impossible selection: @@ -128,7 +128,7 @@ static int failed_; \ failed_ = 0; \ (X)(__VA_ARGS__); \ - printf("%s:\t%s\n", name, failed_ ? "FAIL" : "OK"); \ + printf("%s\t%s\n", name, failed_ ? "FAIL" : "OK"); \ if (failed_ && getenv("K") == NULL) /* K = keep going */ \ exit(1); \ } while (0)