summaryrefslogtreecommitdiffstats
path: root/build
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 /build
parenta3e888d55085188514bf4d62deeae0d2f302d0f0 (diff)
Enable tests with DejaGnu.
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 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)" && \