]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - Rules
Generate .test-result files for ordinary tests.
[thirdparty/glibc.git] / Rules
diff --git a/Rules b/Rules
index 301a74818cb7c785e07ee90e3a9cf729bbcdf0a0..3e305ddaa551a84054fc143fd76614c711337aeb 100644 (file)
--- a/Rules
+++ b/Rules
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-2013 Free Software Foundation, Inc.
+# Copyright (C) 1991-2014 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -83,7 +83,7 @@ common-generated += dummy.o dummy.c
 \f
 # This makes all the auxiliary and test programs.
 
-.PHONY: others tests
+.PHONY: others tests bench
 ifeq ($(multi-arch),no)
 tests := $(filter-out $(tests-ifunc), $(tests))
 xtests := $(filter-out $(xtests-ifunc), $(xtests))
@@ -183,11 +183,14 @@ make-test-out = $(test-wrapper-env) \
                GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
                $($*-ENV) $(host-test-program-cmd) $($*-ARGS)
 $(objpfx)%.out: %.input $(objpfx)%
-       $(make-test-out) > $@ < $(word 1,$^)
+       $(make-test-out) > $@ < $(word 1,$^); \
+       $(evaluate-test)
 $(objpfx)%.out: /dev/null $(objpfx)%   # Make it 2nd arg for canned sequence.
-       $(make-test-out) > $@
+       $(make-test-out) > $@; \
+       $(evaluate-test)
 
 endif  # tests
+
 \f
 .PHONY: distclean realclean subdir_distclean subdir_realclean \
        subdir_clean subdir_mostlyclean subdir_testclean