diff options
| author | azidar | 2015-02-18 17:20:11 -0800 |
|---|---|---|
| committer | azidar | 2015-02-18 17:20:11 -0800 |
| commit | 50b5ce57d1b823a03725dd0aa2141f300c244bf1 (patch) | |
| tree | 6fd005a2e07034ff017dfb6bada6b1eeddad2783 /Makefile | |
| parent | afde65773fc7b19dd99e0c65f718a96d0466541b (diff) | |
Added more testing infrastructre, and Makefile to build firrtl
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -1,2 +1,22 @@ +# Installs stanza into /usr/local/bin +# TODO Talk to Patrick to fill this in +root_dir ?= $(PWD) +test_src_dir ?= $(root_dir)/test/unit +test_out_dir ?= $(root_dir)/test/unit/out +firrtl_dir ?= $(root_dir)/src/main/stanza +all: build check +install-stanza: + + + +build: + cd $(firrtl_dir) && stanzam -i firrtl-main.stanza -o $(root_dir)/utils/bin/firrtl + +# Runs single test +check: + ./firrtl $(test_src_dir)/gcd.fir | tee $(test_out_dir)/gcd.out + +diff: + diff test/unit/out/* test/unit/cor/* |
