aboutsummaryrefslogtreecommitdiff
path: root/testsuite/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/Makefile')
-rw-r--r--testsuite/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/Makefile b/testsuite/Makefile
index b4ab15e2..d1bf359a 100644
--- a/testsuite/Makefile
+++ b/testsuite/Makefile
@@ -6,7 +6,10 @@ RESULTS_DIR := results
TESTS := $(patsubst tests/%,%,$(wildcard tests/*.t))
IPVERS := $(filter-out iproute2/Makefile,$(wildcard iproute2/*))
-KENV := $(shell cat /proc/config.gz | gunzip | grep ^CONFIG)
+
+ifneq (,$(wildcard /proc/config.gz))
+ KENV := $(shell cat /proc/config.gz | gunzip | grep ^CONFIG)
+endif
.PHONY: compile listtests alltests configure $(TESTS)