Changes

Jump to navigation Jump to search

User:Andy1978

697 bytes added, 23:40, 1 August 2013
./run-octave -q ../min_testcase_fails.m
cd ..cd octavehg bisect -ggood or bad?
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:
~/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
217

edits

Navigation menu