On 12/10/18 10:30 AM, Kees Cook wrote:
On Sun, Dec 9, 2018 at 3:00 PM Dmitry V. Levin wrote:
I've stumbled over the current macro-expand behaviour of the test
harness:
$ gcc -Wall -xc - <<'__EOF__'
TEST(macro) {
int status = 0;
ASSERT_TRUE(WIFSIGNALED(status));
}
TEST_HARNES
On Sun, Dec 9, 2018 at 3:00 PM Dmitry V. Levin wrote:
>
> I've stumbled over the current macro-expand behaviour of the test
> harness:
>
> $ gcc -Wall -xc - <<'__EOF__'
> TEST(macro) {
> int status = 0;
> ASSERT_TRUE(WIFSIGNALED(status));
> }
> TEST_HARNESS_MAIN
> __EOF__
> $ ./a.o
I've stumbled over the current macro-expand behaviour of the test
harness:
$ gcc -Wall -xc - <<'__EOF__'
TEST(macro) {
int status = 0;
ASSERT_TRUE(WIFSIGNALED(status));
}
TEST_HARNESS_MAIN
__EOF__
$ ./a.out
[==] Running 1 tests from 1 test cases.
[ RUN ] global.macro
:
3 matches
Mail list logo