aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-11-15 13:43:32 -0500
committerAnthony G. Basile <blueness@gentoo.org>2011-11-15 13:43:32 -0500
commit91bb8f004e5913a2ef1824af2557514470bc368e (patch)
tree16045064ee0ba020e81690d36bd5bde942edd8a4 /tests/Makefile.am
parentsrc/{fix-gnustack.c,paxctl-ng.c}: fix exit code (diff)
downloadelfix-91bb8f004e5913a2ef1824af2557514470bc368e.tar.gz
elfix-91bb8f004e5913a2ef1824af2557514470bc368e.tar.bz2
elfix-91bb8f004e5913a2ef1824af2557514470bc368e.zip
tests/pxtpax: compare file's and process's pax flags
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am29
1 files changed, 1 insertions, 28 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b0b054f..9744798 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,28 +1 @@
-noinst_PROGRAMS = bad-gnustack
-bad_gnustack_SOURCES = bad-gnustack.c
-bad_gnustack_DEPENDENCIES = bad-asm.o
-bad_gnustack_LDADD = bad-asm.o
-
-EXTRA_DIST = bad64.asm bad32.asm
-
-ARCH = $(shell uname -m | sed -e 's/i./x/')
-
-bad-asm.o: bad64.asm bad32.asm
- [[ "$(ARCH)" == "x86" ]] && yasm -f elf -m x86 bad32.asm && mv bad32.o bad-asm.o || true
- [[ "$(ARCH)" == "x86_64" ]] && yasm -f elf -m amd64 bad64.asm && mv bad64.o bad-asm.o || true
-
-check_SCRIPTS = test.sh
-TEST = $(check_SCRIPTS)
-
-test.sh:
- @echo "================================================================================"
- @echo
- @echo "Fixing Bad GNU_STACK Elf"
- @../src/fix-gnustack -f bad-gnustack
- @echo
- @echo "Fixed Bad GNU_STACK Elf"
- @../src/fix-gnustack bad-gnustack
- @echo
- @echo "================================================================================"
-
-CLEANFILES = bad-asm.o test.sh
+SUBDIRS = gnustack xtpax