-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test] add configure_build.sh convenience script for builds suitable …
…for the test suite
- Loading branch information
Showing
4 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh -x | ||
|
||
# | ||
# This is a convenience script to run ./configure with the command line args | ||
# that the test suite needs (sets up binary locations, sysconfdir, | ||
# etc.). Execute this script from the top level fwknop sources directory, and | ||
# then run the test-fwknop.pl script from the test/ directory. | ||
# | ||
|
||
if [ -x ./configure ]; then | ||
./configure --prefix=/usr --sysconfdir=`pwd`/test/conf --localstatedir=`pwd`/test/run $@ | ||
else | ||
echo "[*] Execute from the fwknop top level sources directory" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters