Skip to content

Commit

Permalink
Fixed up test.linux target.
Browse files Browse the repository at this point in the history
  • Loading branch information
Darren Hiebert committed Jul 31, 2007
1 parent e1d95f3 commit c90ea94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testing.mak
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ endif

REF_LINUX_OPTIONS = $(TEST_OPTIONS) --fields=k
TEST_LINUX_OPTIONS = $(TEST_OPTIONS) --fields=k
LINUX_DIRECTORY := $(shell ls -dtr /usr/src/darren/* 2>/dev/null | tail -1)
LINUX_KERNELS_DIRECTORY :=
LINUX_DIRECTORY := $(shell find $(LINUX_KERNELS_DIRECTORY) -maxdepth 1 -type d -name 'linux-[1-9]*' 2>/dev/null | tail -1)
ifeq ($(LINUX_DIRECTORY),)
test.linux:
@ echo "No Linux kernel source found in /usr/src/kernels for testing"
@ echo "No Linux kernel source found for testing"
else
test.linux: $(CTAGS_TEST) $(CTAGS_REF)
@ echo -n "Testing Linux tag inclusion..."
Expand Down

0 comments on commit c90ea94

Please sign in to comment.