sythe
Junior Member level 2
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 :
I want to use this list in my Makefile to pass on each testcase item as variable to ncelab with the -gpg option.
I am horribly failing to use the variable testcase to call with ncelab.
any one a suggestion ?
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 ?