Skip to content

Commit

Permalink
selftests, x86: Remove useless run_tests rule
Browse files Browse the repository at this point in the history
Now that selftests/x86 uses the kselftest infrastructure, the
run_x86_tests.sh mechanism is just in the way.

Signed-off-by: Andy Lutomirski <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
  • Loading branch information
amluto authored and Shuah Khan committed May 13, 2015
1 parent 07620ab commit c1e6e5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
7 changes: 2 additions & 5 deletions tools/testing/selftests/x86/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all all_32 all_64 check_build32 clean run_tests
.PHONY: all all_32 all_64 check_build32 clean

TARGETS_C_BOTHBITS := sigreturn single_step_syscall

Expand All @@ -15,7 +15,7 @@ ifeq ($(CROSS_COMPILE),)
# Always build 32-bit tests
all: all_32
# Install 32-bit tests
TEST_PROGS += $(BINARIES_32) run_x86_tests.sh
TEST_PROGS += $(BINARIES_32)
# If we're on a 64-bit host, build 64-bit tests as well
ifeq ($(UNAME_M),x86_64)
all: all_64
Expand All @@ -33,9 +33,6 @@ include ../lib.mk
clean:
$(RM) $(BINARIES_32) $(BINARIES_64)

run_tests:
./run_x86_tests.sh

$(TARGETS_C_BOTHBITS:%=%_32): %_32: %.c
$(CC) -m32 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl

Expand Down
13 changes: 0 additions & 13 deletions tools/testing/selftests/x86/run_x86_tests.sh

This file was deleted.

0 comments on commit c1e6e5c

Please sign in to comment.