summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-13 17:51:07 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-13 17:51:07 (EDT)
commit350676c72f59f8265d9970c7ac850c9f018bcf7d (patch)
tree8daefb3fccfde200afb5c7057b56f16e894b368e /build
parenta5c2fb1c221d4a824ef5c6884c8cf6c357851cd7 (diff)
build: Run tests.
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/build b/build
index 5facff7..67cfaec 100755
--- a/build
+++ b/build
@@ -9,6 +9,9 @@ build:
oh-autoconfigure -- \
--disable-python
oh-autobuild
+ if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
+ oh-autotest; \
+ fi
touch $@
install: build