about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-02-12 20:51:13 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-02-12 20:51:13 +0000
commit1b6dd3f1297882f2450942a55189fefaae31071f (patch)
tree3034fd9f3bdc19f16a8ecfad285d150be1754f52 /elf
parentace614b8a5c03167cb92ff8ec652f788b8df6750 (diff)
downloadglibc-1b6dd3f1297882f2450942a55189fefaae31071f.tar.gz
glibc-1b6dd3f1297882f2450942a55189fefaae31071f.tar.xz
glibc-1b6dd3f1297882f2450942a55189fefaae31071f.zip
Make ABI tests generate .out files.
If you rerun "make check" in a tree where some tests have already been
run, it will rerun ABI tests because those do not create an output
file.

This patch changes those tests to create .out files so they only get
rerun if the dependencies (on the ABI baselines and the generated
.symlist files) indicate they should be rerun.

Tested x86_64.

	* Makerules (check-abi-%): Change target to
	$(objpfx)check-abi-%.out.
	(check-abi target): Update dependencies.
	(check-abi-pattern variable): Redirect output of diff to $@.
	(check-abi variable): Likewise.
	* elf/Makefile (check-abi): Update dependencies.
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 4c58fc9c24..a684b6b113 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -255,7 +255,7 @@ endif
 
 include ../Rules
 
-check-abi: check-abi-ld
+check-abi: $(objpfx)check-abi-ld.out
 update-abi: update-abi-ld
 
 ifeq (yes,$(build-shared))