File: run-unit-test

package info (click to toggle)
microbegps 1.0.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 167,012 kB
  • sloc: python: 2,788; makefile: 12; sh: 9
file content (21 lines) | stat: -rw-r--r-- 290 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

pkg=microbegps


if [ "$AUTOPKGTEST_TMP" = ""]; then
	AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXX`

	trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM

fi

cd $AUTOPKGTEST_TMP

# Start program

echo "Starting MicrobeGPS"

timeout 10s MicrobeGPS || true

echo "Pass"