mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
cbang: enable check step
This commit is contained in:
parent
09c2bd3cae
commit
9d3f74b269
1 changed files with 12 additions and 0 deletions
|
@ -19,6 +19,18 @@ pre_build() {
|
|||
make_build_args+=" prefix=$DESTDIR/usr"
|
||||
}
|
||||
|
||||
do_check() {
|
||||
cd tests
|
||||
touch iostreamTests/{C,Dec}ompressTest/disable
|
||||
scons ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
|
||||
cc=$CC cxx=$CXX ccflags="$CFLAGS" \
|
||||
CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" \
|
||||
cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" \
|
||||
RANLIB="$RANLIB" ranlib="$RANLIB" \
|
||||
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR}
|
||||
./testHarness
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
make_install_args+=" prefix=$DESTDIR/usr"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue