File: runtest.in

package info (click to toggle)
gp2c 0.0.14-1
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 3,164 kB
  • sloc: ansic: 8,608; sh: 1,630; lex: 346; yacc: 227; makefile: 107
file content (17 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh -e
MAJORVER=`echo "@PARI_VERSION@" | cut -d. -f1`
MINORVER=`echo "@PARI_VERSION@" | cut -d. -f2`
echo Running test traditional
scripts/dotest test
if test $MAJORVER -gt 2 || test $MINORVER -gt 4; then
  echo Running test closure
  scripts/dotest test2
fi
if test $MAJORVER -gt 2 || test $MINORVER -gt 6; then
  echo Running test ranges
  scripts/dotest test3
fi
if test $MAJORVER -gt 2 || test $MINORVER -gt 9; then
  echo Running test iterators
  scripts/dotest test4
fi