diff options
Diffstat (limited to 'nptl/Makefile')
-rw-r--r-- | nptl/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index 57cc8c69e4..889552ffc1 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -542,7 +542,13 @@ endif ifeq ($(build-shared),yes) $(objpfx)tst-cleanup0.out: /dev/null $(objpfx)tst-cleanup0 - $(make-test-out) 2>&1 | cmp - tst-cleanup0.expect > $@ + $(make-test-out) > $@ 2>&1 + +ifeq ($(run-built-tests),yes) +tests: $(objpfx)tst-cleanup0-cmp.out +endif +$(objpfx)tst-cleanup0-cmp.out: tst-cleanup0.expect $(objpfx)tst-cleanup0.out + cmp $^ > $@ $(objpfx)crti.o: $(objpfx)pt-crti.o ln -f $< $@ |