File: test.sh

package info (click to toggle)
cunit 2.1-3-dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 4,196 kB
  • sloc: sh: 9,860; ansic: 9,503; cpp: 1,270; makefile: 380; perl: 45
file content (9 lines) | stat: -rw-r--r-- 249 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#! /bin/sh

for d in debian/tmp debian/tmp-ncurses; do
    LIB="$(echo "$PWD/$d"/usr/lib/*)"
    INC="$PWD/$d/usr/include"

    gcc -Wall -L"$LIB" -I"$INC" -lcunit -o "$ADTTMP/test" debian/tests/test.c
    LD_LIBRARY_PATH="$LIB" "$ADTTMP/test"
done