]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - continuous/steps/Makefile
Add Makefile target useful in bisecting Linux kernel
[can-benchmark.git] / continuous / steps / Makefile
index fd9f9408dc0e02b8db0719189093b67562ec2e13..ff3d4158a4ec4c6982b80b0d974f447ccbdc9763 100644 (file)
@@ -1,2 +1,23 @@
 all:
        run-parts -v --exit-on-error .
+
+history:
+       for i in $$(cat tags); do $(MAKE) $$i; done < /dev/null
+
+v%:
+       cd linux && git clean -fxd > /dev/null && git reset --hard $@
+       @$(MAKE) log 2>&1 < /dev/null | tee ../logs/$@.log 
+       touch $@
+
+log:
+       @echo "! Date: $$(cd linux && git log -1 --format=%ci) ok"
+       ./11-patch
+       ./20-config
+       ./30-compile
+       ./40-run-tests
+
+test: # Useful for running "git bisect run" from the linux directory
+       ./11-patch
+       ./20-config
+       ./30-compile
+       ../tests/kernelgw