File: test

package info (click to toggle)
autoproject 0.20-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 980 kB
  • sloc: sh: 2,948; ansic: 1,677; cpp: 199; makefile: 59
file content (45 lines) | stat: -rw-r--r-- 717 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/sh
#
# This is a simple script that tests autoproject
#
# cd to a directory where you have write permission and run it with 
#    sh /usr/share/doc/autoproject/examples/test
# 

test1(){

    set -e

    # remember where the skeletons are buried
    srcdir=${srcdir:-.}
    # aclocal looks in .. and ../.. for some standard files, so we start
    # deeper than that
    mkdir -p $AUTOPKGTEST_TMP/testplain/deeper
    cd $AUTOPKGTEST_TMP/testplain/deeper

    autoproject -d  "washes windows" -L../../../$srcdir/lib -i cli squeegee 2>/dev/null <<EOF





y

y






EOF
    cd squeegee
    make
    make distcheck

    return $?
}

echo "project not using a parser generator..." 
test1
# extend as necessary...