summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-09-21 12:20:21 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-09-21 12:20:21 (EDT)
commitb56f8bbbb6a0e3ccd7d0e2d2319c7f4e4050b7b7 (patch)
tree43518f7e3e4376a2e794f6a640f5e4d0320a90cf
parenta3e888d55085188514bf4d62deeae0d2f302d0f0 (diff)
Enable tests with DejaGnu.
-rwxr-xr-xbuild3
-rw-r--r--control3
2 files changed, 5 insertions, 1 deletions
diff --git a/build b/build
index 652cfb5..85ed91d 100755
--- a/build
+++ b/build
@@ -116,6 +116,9 @@ $(buildnative_targets):
fincludedir="$${libsubdir}/finclude" \
toolexeclibdir="/usr/lib/$(target)" \
MULTIOSDIR=
+ if [ '$(OPK_BUILD_ARCH)' = '$(OPK_HOST_ARCH)' ]; then \
+ cd "$(builddir)" && make -k check; \
+ fi
$(buildcross_targets):
libsubdir="/usr/lib/$(target)/gcc-$(base_version)" && \
diff --git a/control b/control
index 2b44cc3..b4d9acd 100644
--- a/control
+++ b/control
@@ -1,3 +1,4 @@
-Build-Depends: opkhelper-3.0, libgmp-dev, libmpfr-dev, libmpc-dev, libz.1-dev
+Build-Depends: opkhelper-3.0, libgmp-dev, libmpfr-dev, libmpc-dev, libz.1-dev,
+ dejagnu
Maintainer: "P. J. McDermott" <pjm@nac.net>
Homepage: http://gcc.gnu.org/