File: samltest

package info (click to toggle)
opensaml 3.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,464 kB
  • sloc: cpp: 27,961; sh: 4,593; xml: 1,004; makefile: 429; ansic: 18
file content (18 lines) | stat: -rw-r--r-- 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -ex

# Suppress deprecation warnings like in debian/rules:
./configure CXXFLAGS=-Wno-deprecated-declarations --disable-doxygen-doc

# Work around the make dependency:
touch saml/libsaml.la
# Replace the linker option:
make samltest_LDADD="$(pkgconf --libs opensaml xmltooling xml-security-c xerces-c)" \
    VERBOSE=1 \
    SAMLTEST_NETWORKED=1 \
    -C samltest check || ret=$?

if [ "$AUTOPKGTEST_ARTIFACTS" ]; then
    mv samltest/*.log samltest/*.trs "$AUTOPKGTEST_ARTIFACTS"
fi

exit $ret