02c54012bd
In order to install build dependencies, call dnf builddep from runtest.sh git is required by standard-test-source as the spec file uses %autosetup -S git_am in the %prep phase. magtests.py file is included in the source code that gets extracted from the src rpm, no need to include it directly. Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
12 lines
292 B
Bash
12 lines
292 B
Bash
#!/bin/sh -ex
|
|
|
|
cd ../source
|
|
dnf -y build-dep --spec ../mod_auth_gssapi.spec
|
|
|
|
# Fake a build...
|
|
mkdir -p src/.libs
|
|
cp /usr/lib64/httpd/modules/mod_auth_gssapi.so src/.libs
|
|
|
|
# ... and run the tests.
|
|
./tests/magtests.py || (cat scratchdir/tests.log scratchdir/httpd/logs/error_log ; exit -1)
|