summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-29 21:36:43 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-29 22:28:54 (EDT)
commit1450464cf9e9ffc340e755239d7831199a6f4dbf (patch)
treeba5ca1a0a3b01395bce517d73daa7bab01fda0c7
parent7503a9ffc713e79cfa9d0c7884cfa36cada04c8b (diff)
build: Run tests
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/build b/build
index 50fd39f..4a3445c 100755
--- a/build
+++ b/build
@@ -24,6 +24,9 @@ configure:
build: configure
oh-autobuild -- \
LDFLAGS_DEFAULT="-Wl,--export-dynamic -Wl,-soname=$(SONAME)"
+ if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
+ oh-autotest; \
+ fi
touch $@
install: build