[dev-libs/mongo-c-driver] skip a flaky test
This commit is contained in:
parent
6d0548c028
commit
f56ed735a0
@ -91,6 +91,7 @@ src_configure() {
|
|||||||
src_test() {
|
src_test() {
|
||||||
export MONGOC_TEST_OFFLINE=on
|
export MONGOC_TEST_OFFLINE=on
|
||||||
export MONGOC_TEST_SKIP_MOCK=on
|
export MONGOC_TEST_SKIP_MOCK=on
|
||||||
|
echo "/Samples" >> "${T}/skip-tests.txt"
|
||||||
if ! use test-full; then
|
if ! use test-full; then
|
||||||
export MONGOC_TEST_SKIP_LIVE=on
|
export MONGOC_TEST_SKIP_LIVE=on
|
||||||
else
|
else
|
||||||
@ -104,7 +105,8 @@ src_test() {
|
|||||||
--logpath="${T}/mongod.log" || die
|
--logpath="${T}/mongod.log" || die
|
||||||
fi
|
fi
|
||||||
|
|
||||||
../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die
|
../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc \
|
||||||
|
--skip-tests "${T}/skip-tests.txt" || die
|
||||||
if use test-full; then
|
if use test-full; then
|
||||||
kill $(<"${T}/mongod.lock")
|
kill $(<"${T}/mongod.lock")
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user