File: bisect-ctest.sh

package info (click to toggle)
scip 10.0.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 76,156 kB
  • sloc: ansic: 716,600; cpp: 41,095; awk: 9,195; sh: 4,918; makefile: 4,044; python: 2,076; perl: 731; xml: 660; java: 314; php: 24; lisp: 15
file content (23 lines) | stat: -rwxr-xr-x 417 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/bash
#
# Script to bisect the git history for the first fail of a ctest.
#
# Usage:
#
# 1. start git bisect (from the SCIP root directory), e.g. via
#
#      git bisect master v600
#
# 2. execute (from the SCIP root directory)
#
#      git bisect scripts/bisect-ctest.sh <BUILDDIR> <TEST>


BUILDDIR=$1
TEST=$2

make -C ${BUILDDIR} scip || exit 125

cd ${BUILDDIR} ; ctest -R ${TEST} -V --timeout 30

exit $?