summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-12 11:45:02 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-12 11:45:02 (EST)
commit6227f2529c1cd8bbf81f1afce54bc61ceb05b723 (patch)
tree3c1bcae84d935528974ebe9c27e2ccd13389bcf4 /build
parentef0aa79244a073d2ac3e446ba75ed8b59754f398 (diff)
Add code to run testsuites.
Diffstat (limited to 'build')
-rwxr-xr-xbuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/build b/build
index b636947..ecfc037 100755
--- a/build
+++ b/build
@@ -73,6 +73,14 @@ build: configure
exit 1; \
done
touch $@
+ # Run tests if natively building.
+ # XXX: Disabled until DejaGnu, Expect, and Tcl are packaged.
+ #if [ '$(OPK_BUILD_ARCH)' = '$(OPK_HOST_ARCH)' ]; then \
+ # for target in $$(cat ../targets); do \
+ # oh-autotest -B "build-$${target}" || \
+ # exit 1; \
+ # done; \
+ # fi
install: build
# Install everything.