File: test.sh

package info (click to toggle)
metalang99 1.13.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,428 kB
  • sloc: ansic: 6,748; python: 53; sh: 48; makefile: 18
file content (16 lines) | stat: -rwxr-xr-x 207 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -e

mkdir -p tests/build
cd tests/build
cmake ..
cmake --build .

if [[ "$OSTYPE" == "linux-gnu" ]]; then
    echo "Testing ./gen ..."
    ./gen

    echo "Testing ./stmt ..."
    ./stmt
fi