File: link-with-shared

package info (click to toggle)
libaunit 25.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,360 kB
  • sloc: ada: 5,615; python: 243; makefile: 223; sh: 92; xml: 13
file content (23 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
set -C -e -f -u
cd "$AUTOPKGTEST_TMP"

MAIN=test

cat > "$MAIN.adb" <<EOF
with AUnit.Options; use AUnit.Options;
procedure Test is
   O : constant AUnit_Options := Default_Options;
begin
   null;
end Test;
EOF
cat > p.gpr <<EOF
with "aunit";
project P is
   for Source_Dirs use (".");
   for Main use ("$MAIN.adb");
end P;
EOF
gprbuild -v p.gpr
./$MAIN