Add tst-cancel21-static.c
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 6 Sep 2012 12:44:57 +0000 (05:44 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 6 Sep 2012 18:50:21 +0000 (11:50 -0700)
nptl/ChangeLog
nptl/Makefile
nptl/tst-cancel21-static.c [new file with mode: 0644]

index f4b7ff3..34b3698 100644 (file)
@@ -1,3 +1,10 @@
+2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #14545]
+       * Makefile (tests-static): Add tst-cancel21-static.
+       (tests): Likewise.
+       * tst-cancel21-static.c: New file.
+
 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
index 614f0ce..ad7ac05 100644 (file)
@@ -348,8 +348,9 @@ CFLAGS-funlockfile.c = $(libio-mtsafe)
 link-libc-static := $(common-objpfx)libc.a $(static-gnulib) \
                    $(common-objpfx)libc.a
 
-tests-static += tst-locale1 tst-locale2 tst-stackguard1-static
-tests += tst-stackguard1-static
+tests-static += tst-locale1 tst-locale2 tst-stackguard1-static \
+               tst-cancel21-static
+tests += tst-stackguard1-static tst-cancel21-static
 xtests-static += tst-setuid1-static
 
 # These tests are linked with libc before libpthread
diff --git a/nptl/tst-cancel21-static.c b/nptl/tst-cancel21-static.c
new file mode 100644 (file)
index 0000000..2a01061
--- /dev/null
@@ -0,0 +1 @@
+#include "tst-cancel21.c"