Skip to content

Commit

Permalink
Pruned tests and Makefile
Browse files Browse the repository at this point in the history
Kept nice test cases for reference, but bare-metal will obviously not
be command-line driven.
  • Loading branch information
dalnefre committed Jun 24, 2014
1 parent 836fac4 commit 4cd0ac1
Show file tree
Hide file tree
Showing 18 changed files with 4 additions and 20 deletions.
22 changes: 3 additions & 19 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,7 @@ run:
cat jonesforth.f $(PROG) - | ./jonesforth

clean:
rm -f jonesforth perf_dupdrop *~ core .test_*
rm -f jonesforth *~ core

# Tests.

TESTS := $(patsubst %.f,%.test,$(wildcard test_*.f))

test check: $(TESTS)

test_%.test: test_%.f jonesforth
@echo -n "$< ... "
@rm -f .$@
@cat <(echo ': TEST-MODE ;') jonesforth.f $< <(echo 'TEST') | \
./jonesforth 2>&1 | \
sed 's/DSP=[0-9]*//g' > .$@
@diff -u .$@ $<.out
@rm -f .$@
@echo "ok"

.SUFFIXES: .f .test
.PHONY: test check run run_perf_dupdrop
.SUFFIXES: .f
.PHONY: run
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Raspberry Pi JonesFORTH Operating System
# Raspberry Pi JonesFORTH O/S

A bare-metal operating system for Raspberry Pi,
based on _Jonesforth-ARM_ <https://github.com/M2IHP13-admin/JonesForth-arm>.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4cd0ac1

Please sign in to comment.