File: syslog

package info (click to toggle)
libgnatcoll-bindings 25.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,412 kB
  • sloc: ada: 18,696; python: 1,597; ansic: 1,422; cpp: 581; makefile: 147; sh: 114
file content (24 lines) | stat: -rw-r--r-- 360 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
24
#!/bin/sh
set -C -e -f -u

cd "$AUTOPKGTEST_TMP"

cat > proc.adb <<EOF
with Ada.Text_IO;
with GNATCOLL.Traces.Syslog;
procedure Proc is
begin
   Ada.Text_IO.Put_Line (GNATCOLL.Traces.Syslog.Stream_Syslog);
end Proc;
EOF

cat > proj.gpr <<EOF
with "gnatcoll_syslog.gpr";
project Proj is
   for Main use ("proc.adb");
end Proj;
EOF

gprbuild -v proj.gpr

./proc