]> 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 84b096077b9e6f68f45643e1f750e7844f47d41e..ff3d4158a4ec4c6982b80b0d974f447ccbdc9763 100644 (file)
@@ -1,11 +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 checkout $@
-       @echo "! Date: $(shell cd linux && git log -1 --format=%ai) ok"
+       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
-       touch $@
+
+test: # Useful for running "git bisect run" from the linux directory
+       ./11-patch
+       ./20-config
+       ./30-compile
+       ../tests/kernelgw