[PATCH] testsuites: Wrap putchar

Alex White alex.white at oarcorp.com
Tue Sep 7 03:16:13 UTC 2021


The linker flag to wrap putchar was lost in translation from make to waf.
---
 spec/build/testsuites/ada/grp.yml        | 1 +
 spec/build/testsuites/benchmarks/grp.yml | 1 +
 spec/build/testsuites/fstests/grp.yml    | 1 +
 spec/build/testsuites/libtests/grp.yml   | 1 +
 spec/build/testsuites/mptests/grp.yml    | 1 +
 spec/build/testsuites/psxtests/grp.yml   | 1 +
 spec/build/testsuites/psxtmtests/grp.yml | 1 +
 spec/build/testsuites/rhealstone/grp.yml | 1 +
 spec/build/testsuites/samples/grp.yml    | 1 +
 spec/build/testsuites/smptests/grp.yml   | 1 +
 spec/build/testsuites/sptests/grp.yml    | 1 +
 spec/build/testsuites/tmtests/grp.yml    | 1 +
 12 files changed, 12 insertions(+)

diff --git a/spec/build/testsuites/ada/grp.yml b/spec/build/testsuites/ada/grp.yml
index ef84203d35..d4c771dd75 100644
--- a/spec/build/testsuites/ada/grp.yml
+++ b/spec/build/testsuites/ada/grp.yml
@@ -13,6 +13,7 @@ install: []
 ldflags:
 - -Wl,--wrap=printf
 - -Wl,--wrap=puts
+- -Wl,--wrap=putchar
 links:
 - role: build-dependency
   uid: optgnat
diff --git a/spec/build/testsuites/benchmarks/grp.yml b/spec/build/testsuites/benchmarks/grp.yml
index 1189ec087e..c7a7d6f800 100644
--- a/spec/build/testsuites/benchmarks/grp.yml
+++ b/spec/build/testsuites/benchmarks/grp.yml
@@ -11,6 +11,7 @@ install: []
 ldflags:
 - -Wl,--wrap=printf
 - -Wl,--wrap=puts
+- -Wl,--wrap=putchar
 links:
 - role: build-dependency
   uid: dhrystone
diff --git a/spec/build/testsuites/fstests/grp.yml b/spec/build/testsuites/fstests/grp.yml
index 4c987785ed..378157d3dc 100644
--- a/spec/build/testsuites/fstests/grp.yml
+++ b/spec/build/testsuites/fstests/grp.yml
@@ -12,6 +12,7 @@ install: []
 ldflags:
 - -Wl,--wrap=printf
 - -Wl,--wrap=puts
+- -Wl,--wrap=putchar
 links:
 - role: build-dependency
   uid: libdosfs
diff --git a/spec/build/testsuites/libtests/grp.yml b/spec/build/testsuites/libtests/grp.yml
index 20a593a5d3..cd5cc210e2 100644
--- a/spec/build/testsuites/libtests/grp.yml
+++ b/spec/build/testsuites/libtests/grp.yml
@@ -11,6 +11,7 @@ install: []
 ldflags:
 - -Wl,--wrap=printf
 - -Wl,--wrap=puts
+- -Wl,--wrap=putchar
 links:
 - role: build-dependency
   uid: optbin2c
diff --git a/spec/build/testsuites/mptests/grp.yml b/spec/build/testsuites/mptests/grp.yml
index 6965b505ee..d1c32cde8e 100644
--- a/spec/build/testsuites/mptests/grp.yml
+++ b/spec/build/testsuites/mptests/grp.yml
@@ -11,6 +11,7 @@ install: []
 ldflags:
 - -Wl,--wrap=printf
 - -Wl,--wrap=puts
+- -Wl,--wrap=putchar
 links:
 - role: build-dependency
   uid: mp01node1
diff --git a/spec/build/testsuites/psxtests/grp.yml b/spec/build/testsuites/psxtests/grp.yml
index 8de96e7c7d..9a0cb189fb 100644
--- a/spec/build/testsuites/psxtests/grp.yml
+++ b/spec/build/testsuites/psxtests/grp.yml
@@ -12,6 +12,7 @@ install: []
 ldflags:
 - -Wl,--wrap=printf
 - -Wl,--wrap=puts
+- -Wl,--wrap=putchar
 links:
 - role: build-dependency
   uid: libpsxhdrs
diff --git a/spec/build/testsuites/psxtmtests/grp.yml b/spec/build/testsuites/psxtmtests/grp.yml
index 2d4c5b2b97..8e7cdef33d 100644
--- a/spec/build/testsuites/psxtmtests/grp.yml
+++ b/spec/build/testsuites/psxtmtests/grp.yml
@@ -12,6 +12,7 @@ install: []
 ldflags:
 - -Wl,--wrap=printf
 - -Wl,--wrap=puts
+- -Wl,--wrap=putchar
 links:
 - role: build-dependency
   uid: psxtmbarrier01
diff --git a/spec/build/testsuites/rhealstone/grp.yml b/spec/build/testsuites/rhealstone/grp.yml
index 272c65b22d..10478b2e77 100644
--- a/spec/build/testsuites/rhealstone/grp.yml
+++ b/spec/build/testsuites/rhealstone/grp.yml
@@ -12,6 +12,7 @@ install: []
 ldflags:
 - -Wl,--wrap=printf
 - -Wl,--wrap=puts
+- -Wl,--wrap=putchar
 links:
 - role: build-dependency
   uid: rhdeadlockbrk
diff --git a/spec/build/testsuites/samples/grp.yml b/spec/build/testsuites/samples/grp.yml
index ef72531e95..37b9962212 100644
--- a/spec/build/testsuites/samples/grp.yml
+++ b/spec/build/testsuites/samples/grp.yml
@@ -11,6 +11,7 @@ install: []
 ldflags:
 - -Wl,--wrap=printf
 - -Wl,--wrap=puts
+- -Wl,--wrap=putchar
 links:
 - role: build-dependency
   uid: basempnode1
diff --git a/spec/build/testsuites/smptests/grp.yml b/spec/build/testsuites/smptests/grp.yml
index 771708503e..d6a1bf5c15 100644
--- a/spec/build/testsuites/smptests/grp.yml
+++ b/spec/build/testsuites/smptests/grp.yml
@@ -14,6 +14,7 @@ install: []
 ldflags:
 - -Wl,--wrap=printf
 - -Wl,--wrap=puts
+- -Wl,--wrap=putchar
 links:
 - role: build-dependency
   uid: smp01
diff --git a/spec/build/testsuites/sptests/grp.yml b/spec/build/testsuites/sptests/grp.yml
index 7e7618789c..d3cd53fb4a 100644
--- a/spec/build/testsuites/sptests/grp.yml
+++ b/spec/build/testsuites/sptests/grp.yml
@@ -11,6 +11,7 @@ install: []
 ldflags:
 - -Wl,--wrap=printf
 - -Wl,--wrap=puts
+- -Wl,--wrap=putchar
 links:
 - role: build-dependency
   uid: libsplinkersets01
diff --git a/spec/build/testsuites/tmtests/grp.yml b/spec/build/testsuites/tmtests/grp.yml
index dba7115207..e9045713b5 100644
--- a/spec/build/testsuites/tmtests/grp.yml
+++ b/spec/build/testsuites/tmtests/grp.yml
@@ -12,6 +12,7 @@ install: []
 ldflags:
 - -Wl,--wrap=printf
 - -Wl,--wrap=puts
+- -Wl,--wrap=putchar
 links:
 - role: build-dependency
   uid: tm01
-- 
2.27.0



More information about the devel mailing list