aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2005-07-12 17:21:19 +0000
committerUlrich Müller <ulm@gentoo.org>2020-01-09 23:50:51 +0100
commitb5eb706b0d006535cb8e48b7a03177249a630dd0 (patch)
treebd1ad55b9d89bbe5b185210eb838759e4aa4923e /ebuild-writing/functions/src_test/sample-sample.ebuild
downloaddevmanual-b5eb706b0d006535cb8e48b7a03177249a630dd0.tar.gz
devmanual-b5eb706b0d006535cb8e48b7a03177249a630dd0.tar.bz2
devmanual-b5eb706b0d006535cb8e48b7a03177249a630dd0.zip
reStructuredText source of the devmanual
Taken from ~sekretarz/public_html/devmanual.tar.bz on dev.gentoo.org and removed all generated HTML, PNG, and temporary files. Timestamp of oldest file: 2005-06-04 11:50:45 +0000 Timestamp of newest file: 2005-07-12 17:21:19 +0000 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'ebuild-writing/functions/src_test/sample-sample.ebuild')
-rw-r--r--ebuild-writing/functions/src_test/sample-sample.ebuild12
1 files changed, 12 insertions, 0 deletions
diff --git a/ebuild-writing/functions/src_test/sample-sample.ebuild b/ebuild-writing/functions/src_test/sample-sample.ebuild
new file mode 100644
index 0000000..b22bfa4
--- /dev/null
+++ b/ebuild-writing/functions/src_test/sample-sample.ebuild
@@ -0,0 +1,12 @@
+#
+
+src_compile() {
+ cd ${S}/src/testdir
+
+ # Test 49 won't work inside a portage environment
+ sed -i -e 's~test49.out~~g' Makefile
+
+ # Try to run the non-gui tests only
+ make test-nongui \
+ || die "At least one test failed"
+}