]> git.draconx.ca Git - gob-dx.git/commit
Improve str.gob testcase on non-GNU compilers.
authorNick Bowler <nbowler@draconx.ca>
Sat, 26 Feb 2022 03:55:02 +0000 (22:55 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 26 Feb 2022 03:55:02 +0000 (22:55 -0500)
commit4e6eb5db5593f2d73c2c9af9c925e1a2866c8303
tree63c230b3e63075f4d2a6f2faad04430a6305fcc8
parentedbed51570922b674286769255e3ac2b949e1ba7
Improve str.gob testcase on non-GNU compilers.

Checking for -Wformat warnings from the compiler is not going to work
well on non-GNU toolchains, or even on old GNU toolchains where the
warning is not enabled by default, or if the user specified something
like -w in CFLAGS.

Adapt the test to check whether the compiler produces such warnings
and produce a skipped result if not.
tests/general.at