#!/bin/sh
set -C -e -f -u

TOP_SOURCE_DIR=`pwd`
cd "$AUTOPKGTEST_TMP"

cat > p.gpr <<EOF
with "xmlezout.gpr";
project P is
   for Main use ("m.adb");
end P;
EOF
cat > m.adb <<EOF
with McKae.XML.EZ_Out; use McKae.XML.EZ_Out;
with Ada.Text_IO;      use Ada.Text_IO;
procedure M is
begin
   Put_Line (Formatting_Options'Image (Continuous_Stream));
end M;
EOF

gprbuild -v p.gpr

./m
