From 25c1ee2346b1d955ddc63b72f8beb412ed17fb7d Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Sat, 8 Dec 2012 05:14:08 -0600 Subject: [PATCH] Add "demo script" for running git bisect --- contrib/run_bisect.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 contrib/run_bisect.sh diff --git a/contrib/run_bisect.sh b/contrib/run_bisect.sh new file mode 100755 index 0000000000000..aa31a97ea65b0 --- /dev/null +++ b/contrib/run_bisect.sh @@ -0,0 +1,13 @@ +#! /bin/bash +# Instructions +# Create a .jl file that looks like this: +# function test() +# do some stuff, perhaps return a value +# end +# @assert test() == 5 # 5 is the correct answer if all is working +# exit() +# Then provide the name of that function after the "julia" call below +make clean # or cleanall if necessary +make +julia /tmp/test.jl +exit $?