Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Makefile to setup regression

Status
Not open for further replies.

sythe

Junior Member level 2
Joined
May 2, 2007
Messages
20
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,283
Activity points
1,411
I am writing a makefile to do a regression suite.
It is using the 3 step approach in Cadence (compile (ncvhdl) , elaborate (ncelab), simulate(ncsim))

The makefile includes a testcases.mk which looks like :
Code:
testcase_list = \
  testcase1 \
  testcase2 \

I want to use this list in my Makefile to pass on each testcase item as variable to ncelab with the -gpg option.
Code:
....
...
compile:
  ncvhdl blahblah

regression_test: compile
  for testcase in $(testcase_list); \
  do \
    echo $$testcase
    ncelab $(NCELAB_OPTS) -gpg 'TESTCASE => "$testcase"' \ ;
  done

I am horribly failing to use the variable testcase to call with ncelab.

any one a suggestion ?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top