summaryrefslogtreecommitdiffhomepage
path: root/samples
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2006-08-05 23:47:57 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2006-08-05 23:47:57 +0000
commit63c94b1e74f3272dbf0b2bc1dae8913d564c72f5 (patch)
treec342b533c5e1bef9cd752f8f1f87e29b4675ee50 /samples
parentf25c34aee4fbd3fef2d5bc29ec09ebad88c1b118 (diff)
downloadmdk-63c94b1e74f3272dbf0b2bc1dae8913d564c72f5.tar.gz
mdk-63c94b1e74f3272dbf0b2bc1dae8913d564c72f5.tar.bz2
All tests passing again (mix parser re-entrant)
git-archimport-id: mdk@sv.gnu.org/mdk--devel--1--patch-17
Diffstat (limited to 'samples')
-rw-r--r--samples/Makefile.am5
-rw-r--r--samples/isains.mixal (renamed from samples/isamixinstruction.mixal)0
l---------samples/mixasm1
l---------samples/mixvm1
-rw-r--r--samples/tests/.arch-inventory2
-rw-r--r--samples/tests/Makefile.am17
-rw-r--r--samples/tests/ldan.mixal1
-rw-r--r--samples/tests/stress2.mixal8
8 files changed, 27 insertions, 8 deletions
diff --git a/samples/Makefile.am b/samples/Makefile.am
index 0e4575f..7ec030a 100644
--- a/samples/Makefile.am
+++ b/samples/Makefile.am
@@ -10,6 +10,7 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+SUBDIRS = tests
-EXTRA_DIST = primes.result hello.mixal primes.mixal echo.mixal\
- permutations.mixal permutations.cardrd \ No newline at end of file
+EXTRA_DIST = primes.result hello.mixal primes.mixal echo.mixal \
+ permutations.mixal permutations.cardrd isains.mixal
diff --git a/samples/isamixinstruction.mixal b/samples/isains.mixal
index b1d7f2d..b1d7f2d 100644
--- a/samples/isamixinstruction.mixal
+++ b/samples/isains.mixal
diff --git a/samples/mixasm b/samples/mixasm
deleted file mode 120000
index db38217..0000000
--- a/samples/mixasm
+++ /dev/null
@@ -1 +0,0 @@
-../mixutils/mixasm \ No newline at end of file
diff --git a/samples/mixvm b/samples/mixvm
deleted file mode 120000
index bdb6e79..0000000
--- a/samples/mixvm
+++ /dev/null
@@ -1 +0,0 @@
-../mixutils/mixvm \ No newline at end of file
diff --git a/samples/tests/.arch-inventory b/samples/tests/.arch-inventory
new file mode 100644
index 0000000..1ac182e
--- /dev/null
+++ b/samples/tests/.arch-inventory
@@ -0,0 +1,2 @@
+junk (\.mix)$
+junk (\.mls)$
diff --git a/samples/tests/Makefile.am b/samples/tests/Makefile.am
new file mode 100644
index 0000000..b75454c
--- /dev/null
+++ b/samples/tests/Makefile.am
@@ -0,0 +1,17 @@
+## Process this file with automake to produce Makefile.in
+
+# Copyright (C) 2006 by Free Software Foundation, Inc.
+
+#
+# This file is free software; as a special exception the author gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+EXTRA_DIST = bt.mixal cbp.mixal ldan.mixal lockonw.mixal negwrite.mixal \
+ stress0.mixal stress1.mixal stress2.mixal stress4.mixal \
+ stress5.mixal stress6.mixal
+
diff --git a/samples/tests/ldan.mixal b/samples/tests/ldan.mixal
index d15c6a3..24a066f 100644
--- a/samples/tests/ldan.mixal
+++ b/samples/tests/ldan.mixal
@@ -3,3 +3,4 @@ BEGIN LDAN VAR(1:5)
LDXN VAR(1:5)
HLT
END BEGIN
+
diff --git a/samples/tests/stress2.mixal b/samples/tests/stress2.mixal
index 0c4d7d6..ccfca81 100644
--- a/samples/tests/stress2.mixal
+++ b/samples/tests/stress2.mixal
@@ -1,7 +1,7 @@
- ORIG 1999
-ST NOP
-SYM EQU SYM+1
+ ORIG 1999
+ST NOP
+SYM EQU ST+1
SYM2 CON SYM2+1
SYM3 ORIG SYM3+2
- HLT
+ HLT
SYM4 END SYM4+1