diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -1,22 +1,17 @@ # 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 +test_dir ?= $(root_dir)/test 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/* + cd $(test_dir) && lit -v . --path=$(root_dir)/utils/bin/ + cat $(test_dir)/unit/gcd.fir.out |
