diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2022-08-24 18:01:52 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2023-01-13 20:03:52 +0300 |
commit | daeeaa97b35c0f143d6aa9d97d94e23e375337e8 (patch) | |
tree | 5b96508b5b4611270670dbfb51950e52e3ccb9fc /winsup/testsuite/README | |
parent | 50a741e2f112fdf49a229818aa1242daed9558de (diff) |
Cygwin: testsuite: Build testcases using automake
Build all the testcase executables directly using automake, rather than
passing the compiler information into DejaGnu to have it build them.
(This means you get build avoidance for these executables, so they only
get built once, rather than every time you run the test, and makes it
much easier to run them in isolatation against the installed Cygwin,
which is really nice to have when trying to fix broken tests...)
Rename the 'cygrun' subdirectory to 'mingw', and build all the testsuite
MinGW executables there.
Drop sample-miscompile.c (testing that compile failure is detected is
perhaps useful, but not here...)
Diffstat (limited to 'winsup/testsuite/README')
-rw-r--r-- | winsup/testsuite/README | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/README b/winsup/testsuite/README index c22b06594..363ebb9e8 100644 --- a/winsup/testsuite/README +++ b/winsup/testsuite/README @@ -21,7 +21,7 @@ cygwin1.dll ONLY. Create other subdirs under testsuite/ for other classes of testing. Tests in winsup.api/*.c or winsup.api/*/*.c (only one subdirectory -level is allowed) either compile, run, and exit(0) or they fail. +level is allowed) either run, and exit(0) or they fail. Either abort or exit with a non-zero code to indicate failure. Don't print anything to the screen if you can avoid it (except for failure reasons, of course). One .c file per test, no compile options are |