diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-10-06 18:11:54 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2021-04-27 18:49:56 +0300 |
commit | 247ce0ca3aaed06703783d586b6eaed1f8379582 (patch) | |
tree | dedbe1b44987b9b5fc7115ade0757eb5dbaa4086 /winsup/testsuite/winsup.api | |
parent | 3b0ba6535218631b1ab467cd29d36b1eae4a0af6 (diff) |
Cygwin: Use automake (v5)
v2:
* Include tzmap.h in BUILT_SOURCES
* Make per-file flags appear after user-supplied CXXFLAGS, so they can
override optimization level.
* Correct .o files used to define symbols exported by libm.a
* Drop gcrt0.o mistakenly included in libgmon.a
* Add missing line continuations in GMON_FILES value
v3:
* use per-file flags for .c compilation
* override C{XX,}FLAGS, as they are set on the command line by top-level make
v4:
* Drop -Wno-error=write-strings from path_testsuite CXXFLAGS
v5:
* Update for changes in master
- Add -fno-threadsafe-statics to CXX flags
- Add hypotl.cc
- Remove fenv.cc (in favour of newlib), add fenv.c stub
- Add proc.5 manpage rules
Diffstat (limited to 'winsup/testsuite/winsup.api')
-rw-r--r-- | winsup/testsuite/winsup.api/winsup.exp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/winsup/testsuite/winsup.api/winsup.exp b/winsup/testsuite/winsup.api/winsup.exp index 4978136a1..584aa5755 100644 --- a/winsup/testsuite/winsup.api/winsup.exp +++ b/winsup/testsuite/winsup.api/winsup.exp @@ -9,13 +9,15 @@ if { ! [isnative] } { set rv "" set ltp_includes "-I$ltp_includes" -set ltp_libs "$rootme/libltp.a" +set ltp_libs "$ltp_libs" set add_includes $ltp_includes set add_libs $ltp_libs set test_filter "" +set env(PATH) "$runtime_root:$env(PATH)" + if { [info exists env(CYGWIN_TESTSUITE_TESTS)] } { set test_filter "$env(CYGWIN_TESTSUITE_TESTS)" } @@ -69,7 +71,7 @@ foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.c $srcdir/$subdir/*/*.{cc set redirect_output /dev/null } file mkdir $tmpdir/$base - ws_spawn "$rootme/cygrun ./$base.exe $testdll_tmpdir/$base > $redirect_output" + ws_spawn "$cygrun ./$base.exe $testdll_tmpdir/$base > $redirect_output" file delete -force $tmpdir/$base if { $rv } { fail "$testcase (execute)" |