summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-09-21 12:02:52 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-09-21 12:02:52 (EDT)
commit5b4bec7003519caef1c78e3b575a86ff1ee8c324 (patch)
tree099cce5609f1d3ceec166f87a27a0e8372e05709
parent3fff6af914d15c72eab92af18fdc1ea7a6993411 (diff)
Enable tests with DejaGnu.
-rwxr-xr-xbuild13
-rw-r--r--control2
2 files changed, 7 insertions, 8 deletions
diff --git a/build b/build
index 70e1f2b..ca948bf 100755
--- a/build
+++ b/build
@@ -69,13 +69,12 @@ build: configure
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
+ 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.
diff --git a/control b/control
index 2da8d5a..a00a64f 100644
--- a/control
+++ b/control
@@ -1,3 +1,3 @@
Maintainer: "P. J. McDermott" <pjm@nac.net>
-Build-Depends: libz.1-dev, opkhelper-3.0, gettext
+Build-Depends: libz.1-dev, opkhelper-3.0, gettext, dejagnu
Homepage: https://www.gnu.org/software/binutils/