aboutsummaryrefslogtreecommitdiffstats
path: root/testcase/wildcard_cache.mk
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2020-06-27 19:37:53 -0700
committerDan Willemsen <dwillemsen@google.com>2020-06-29 15:02:56 -0700
commit17da7996059f08407cc206e703ec88d4facf0dc8 (patch)
treee18ba26286bf62be039812a2aac915ff2c062d62 /testcase/wildcard_cache.mk
parent10cc982b563c19890872b73e6d8fb44aeda646ae (diff)
downloadplatform_build_kati-17da7996059f08407cc206e703ec88d4facf0dc8.tar.gz
platform_build_kati-17da7996059f08407cc206e703ec88d4facf0dc8.tar.bz2
platform_build_kati-17da7996059f08407cc206e703ec88d4facf0dc8.zip
Switch to a golang-based test runner
This adds a few features: * Parallel execution (and all other golang test runner features) * Colored diffs of output * Make and kati run in subdirs, all output is preserved * Full logs saved of raw and normalized output per-testcase * TODO(c/<testcase>) support to mark individual testcases as expected failures, instead of the full test. Removed support for the [go]kati serialization tests Change-Id: Id6be80a3168ccff3fa3a970fe089986f1aa066dd
Diffstat (limited to 'testcase/wildcard_cache.mk')
-rw-r--r--testcase/wildcard_cache.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcase/wildcard_cache.mk b/testcase/wildcard_cache.mk
index 83ba3db..957e4c2 100644
--- a/testcase/wildcard_cache.mk
+++ b/testcase/wildcard_cache.mk
@@ -1,7 +1,7 @@
# TODO(c): Fix this. Maybe $(wildcard) always runs at eval-phase.
# GNU make 4 agrees with ckati.
-MAKEVER:=$(shell make --version | ruby -n0e 'puts $$_[/Make (\d)/,1]')
+MAKEVER:=$(shell make --version | grep "Make [0-9]" | sed -E 's/.*Make ([0-9]).*/\1/')
ifeq ($(MAKE)$(MAKEVER),make4)
$(error test skipped)
endif