Andy1978

Joined 8 January 2013
697 bytes added ,  2 August 2013
Line 73: Line 73:
  ./run-octave -q ../min_testcase_fails.m
  ./run-octave -q ../min_testcase_fails.m


cd ..
good or bad?
cd octave
hg bisect -g


cd ../octave-src && hg bisect -g


After this you try make again, bootstrap && configure if this fails, run the testscript, tell hg bisect if its good or bad and repeat this until the revision which introduced the problem is found.
Or you can use "hg bisect --command", see next point.
=== hg bisect --command ===
I used [http://jordi.platinum.linux.pl/tmp/bisect-32818.sh Jordis bisect script for bug 32818] and modified it to my needs:
I used [http://jordi.platinum.linux.pl/tmp/bisect-32818.sh Jordis bisect script for bug 32818] and modified it to my needs:
~/src$ cat bisect-loadsave.sh
#!/bin/bash
SRCDIR=~/src/octave-src
BUILDDIR=~/src/octave-build
cd $SRCDIR
## Try a simple build first
if  ! make -j 7
then
    cd $SRCDIR
    ./bootstrap || exit 127
    #rm -rf $BUILDDIR
    #mkdir $BUILDDIR
    cd $BUILDDIR
    $SRCDIR/configure || exit 127
    make -j 7|| exit 127
fi
$BUILDDIR/run-octave -q ~/src/min_testcase_fails.m || exit 1
exit 0
219

edits