summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-11-29 00:08:37 +0100
committerNao Pross <naopross@thearcway.org>2018-11-29 00:16:27 +0100
commit2bb537995bef8a79233166949bdec28c1cd26397 (patch)
treecbb8c2e66d3c6a8c54483a7d23e9b85d4e3c0cf1
parentAdd b32d for future decoder implementation, update test (diff)
downloadbase32asm-2bb537995bef8a79233166949bdec28c1cd26397.tar.gz
base32asm-2bb537995bef8a79233166949bdec28c1cd26397.zip
Update test to show diff
Diffstat (limited to '')
-rw-r--r--.gitignore1
-rw-r--r--makefile8
2 files changed, 6 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index bedbda2..cfae503 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ b32d
*.o
*.b32
+*.decoded
diff --git a/makefile b/makefile
index bf4860b..6210d85 100644
--- a/makefile
+++ b/makefile
@@ -5,9 +5,11 @@ all: b32e b32d
test: b32e b32d
cat makefile | ./b32e > makefile.b32
cat makefile | base32 -w 0 > makefile.check.b32
+ diff makefile.b32 makefile.check.b32
- cat makefile.b32 | ./b32d
- cat makefile.check.b32 | base32 -d
+ cat makefile.b32 | ./b32d > makefile.decoded
+ @# cat makefile.check.b32 | base32 -d
+ diff makefile makefile.decoded
# encoder
b32e: b32e.o
@@ -25,4 +27,4 @@ b32d.o: b32d.asm
.PHONY: clean
clean:
- rm -f *.o b32e b32d *.b32
+ rm -f *.o b32e b32d *.b32 *.decoded