Debian Codegraph @

debian/tests/basic

raw
1 #!/bin/sh
2 set -C -e -f -u
3
4 gnu_type=$(sed '/^gnu_type *:= */ !d; s///; q' debian/rules)
5 cd "$AUTOPKGTEST_TMP"
6
7 cat > foo.c <<EOF
8 int add (int a, int b)
9 {
10 return a+b;
11 }
12 EOF
13 $gnu_type-gcc -nostdlib foo.c