fix tests, they need an extra file (relatively large compared to the main
distfile, and with no copyright info) so there's a manual step to fetch that. (set TEST_IS_INTERACTIVE).
This commit is contained in:
parent
50e0d03ebb
commit
97d3ab1a75
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2015/10/10 12:33:16 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2015/10/10 13:00:04 sthen Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -20,7 +20,15 @@ MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/linphone/plugins/
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
# there are tests, but need a separate (35MB) download, and fixing
|
||||
NO_TEST= Yes
|
||||
# Use bundled libtool for the tests only; otherwise they fail to link.
|
||||
TEST_FLAGS= LIBTOOL="/bin/sh ../../libtool"
|
||||
TEST_IS_INTERACTIVE= Yes
|
||||
|
||||
pre-test:
|
||||
@if ! [ -d ${WRKSRC}/test/patterns ]; then echo; echo \
|
||||
">>> Tests require an additional download. Please fetch"; echo \
|
||||
">>> http://www.belledonne-communications.com/downloads/bcg729-patterns.zip"; echo \
|
||||
">>> and unzip it in ${WRKSRC}/test"; \
|
||||
echo; exit 1; fi
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
9
telephony/bcg729/patches/patch-test_testCampaignAll
Normal file
9
telephony/bcg729/patches/patch-test_testCampaignAll
Normal file
@ -0,0 +1,9 @@
|
||||
$OpenBSD: patch-test_testCampaignAll,v 1.1 2015/10/10 13:00:04 sthen Exp $
|
||||
--- test/testCampaignAll.orig Sat Oct 10 13:44:54 2015
|
||||
+++ test/testCampaignAll Sat Oct 10 13:45:03 2015
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /bin/bash
|
||||
+#!/bin/sh
|
||||
# This script check if we have the tests patterns and download them if needed
|
||||
# then run all available tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user