File: t

package info (click to toggle)
mathomatic 16.0.5-5.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,192 kB
  • sloc: ansic: 22,029; makefile: 340; sh: 319; python: 96; awk: 39
file content (17 lines) | stat: -rwxr-xr-x 319 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
# Shell script to test the Mathomatic prime number tools.

set -e
set -u

trap "rm -f test.out bigtest.out" EXIT

make -j2 check bigcheck

echo Testing matho-pascal...
./matho-pascal >/dev/null

echo Testing matho-sumsq...
./matho-sumsq 12146807 50000000 >/dev/null

echo Prime number tools tests successful.