File: test

package info (click to toggle)
autoproject 0.20-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 864 kB
  • ctags: 428
  • sloc: sh: 2,949; ansic: 1,677; cpp: 199; makefile: 98
file content (46 lines) | stat: -rw-r--r-- 712 bytes parent folder | download | duplicates (5)
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
46
#!/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
    rm -rf testplain
    mkdir testplain; cd testplain
    mkdir deeper; cd 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...