summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Mavrinac <mavrinac@gmail.com>2008-10-08 12:20:00 -0400
committerAaron Mavrinac <mavrinac@gmail.com>2008-10-08 12:20:00 -0400
commit3f23ed3ae99248ec846caa0a2b9e707558d230f0 (patch)
tree1e6de552a12c64a746cd683a4e4da84ff8b059aa
parentMinor improvement to gandalf-1.6.ebuild. (diff)
downloadezod-3f23ed3ae99248ec846caa0a2b9e707558d230f0.tar.gz
ezod-3f23ed3ae99248ec846caa0a2b9e707558d230f0.tar.bz2
ezod-3f23ed3ae99248ec846caa0a2b9e707558d230f0.zip
Added src_test to dev-embedded/as31 ebuild.
-rw-r--r--dev-embedded/as31/Manifest3
-rw-r--r--dev-embedded/as31/as31-2.0_beta3.ebuild15
2 files changed, 13 insertions, 5 deletions
diff --git a/dev-embedded/as31/Manifest b/dev-embedded/as31/Manifest
index 64bc30e..4e2df6a 100644
--- a/dev-embedded/as31/Manifest
+++ b/dev-embedded/as31/Manifest
@@ -1,3 +1,4 @@
DIST as31_beta3.tar.gz 82696 RMD160 873a7c1d2814d7d69f0a2112417e82aef54f964b SHA1 1ec22bc93273412abc9a10f254563a6356121501 SHA256 26a8425ec71b7b91f9194febd9c8530b5c2a391963c9bd9bd1e3bc840879ed4c
-EBUILD as31-2.0_beta3.ebuild 528 RMD160 9da0b3f69806c43d13b57f874e5f4200cd982eff SHA1 620bd00abaaa78bfc006f14dfbdb61dc949e5be4 SHA256 ac52a288a61e221b015f1c713d4c1cf369737b72f6e2e05fa2709fe947cfa563
+EBUILD as31-2.0_beta3.ebuild 776 RMD160 6ddf6cf408d22d1ffdb3a178b819ee07bf7c7da9 SHA1 d79de90f780f2ed83b687ce0169c30e9e27f29c2 SHA256 5069675835cebf7be450be8ffb558f8af4c7d70f123e5672bfc1370dec7dbf1f
MISC ChangeLog 241 RMD160 453aace1256157479d6c59e3e340a64a6953d0c1 SHA1 94b3319d09a77e8dc19a16c65091c6a4da111891 SHA256 79b6111bb2201659822b03a3217a30c35fafd301b5d9e524be4c8975ac79acf6
+MISC metadata.xml 643 RMD160 3bda92019cb9a627d763c625fe5c47e162c62659 SHA1 a5a8995876fccee43247f8460f324178ce447269 SHA256 35b5769a36ea9915a553724a404368ef8451e1bcfb000fe8f3653d9ebdf7644c
diff --git a/dev-embedded/as31/as31-2.0_beta3.ebuild b/dev-embedded/as31/as31-2.0_beta3.ebuild
index 088aef6..0eec1c4 100644
--- a/dev-embedded/as31/as31-2.0_beta3.ebuild
+++ b/dev-embedded/as31/as31-2.0_beta3.ebuild
@@ -14,16 +14,23 @@ IUSE=""
DEPEND=""
RDEPEND=""
-S="as31"
+S="${WORKDIR}/${PN}"
src_compile() {
- cd "${S}"
emake || die "emake failed"
}
-src_install() {
- cd "${S}"
+src_test() {
+ cd "${S}/tests"
+ ../as31 paulmon1.asm
+ ../as31 paulmon2.asm
+ ../as31 extra.asm
+ diff -q paulmon1.hex paulmon1.ref || die "test failed"
+ diff -q paulmon2.hex paulmon2.ref || die "test failed"
+ diff -q extra.hex extra.ref || die "test failed"
+}
+src_install() {
exeinto /usr/bin
doexe as31 as31_gtk || die "doexe failed"