From 8c1c4225c340dc658f7d0956e8b231050c122abc Mon Sep 17 00:00:00 2001 From: azidar Date: Thu, 19 Feb 2015 08:28:54 -0800 Subject: Added compiler flags to allow tests to select which passes they test. Changed package names from chipper to firrtl --- Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cf869d2b..cf8c0c22 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3