diff options
| author | azidar | 2015-02-19 08:28:54 -0800 |
|---|---|---|
| committer | azidar | 2015-02-19 08:28:54 -0800 |
| commit | 8c1c4225c340dc658f7d0956e8b231050c122abc (patch) | |
| tree | 93c438922163579d5f00b3f3984c0506f66f59fc /Makefile | |
| parent | 50b5ce57d1b823a03725dd0aa2141f300c244bf1 (diff) | |
Added compiler flags to allow tests to select which passes they test.
Changed package names from chipper to firrtl
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 |
