File: test-basic

package info (click to toggle)
supernovas 1.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,496 kB
  • sloc: ansic: 20,238; makefile: 387; fortran: 38; python: 34; sh: 14
file content (15 lines) | stat: -rwxr-xr-x 237 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

exec 2>&1

set -e

test_star() {
  # Build the example program against the installed development libs
  gcc -o example-star examples/example-star.c -lsupernovas -lm
  
  # Run the example program
  ./example-star
}

. shunit2