File: build.sh

package info (click to toggle)
haskell-mueval 0.9.3-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 136 kB
  • sloc: haskell: 419; sh: 85; makefile: 4
file content (13 lines) | stat: -rwxr-xr-x 517 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# Abort if any commands aren't successful
set -e
# Build
(runhaskell Setup configure --user && runhaskell Setup build && runhaskell Setup haddock && runhaskell Setup install || exit) &&
# Run the test suite with various options
echo "\n...Single-threaded tests....\n" &&
sh tests.sh &&
echo "\n...Rerun the tests with multiple threads...\n" &&
sh tests.sh +RTS -N4 -RTS &&
echo "\n...Rerun tests with resource limits enabled...\n" &&
sh tests.sh --rlimits &&
echo "\n...Done, apparently everything worked!"