2012-03-15 07:26:48 +08:00
|
|
|
# test: ../ncdump/cdl4/ref_const_test.cdl
|
|
|
|
# test: ../ncdump/cdl4/ref_tst_chardata.cdl
|
2014-12-29 13:42:05 +08:00
|
|
|
K="-k nc4"
|
2014-10-11 05:00:40 +08:00
|
|
|
F="z.cdl"
|
2012-03-08 07:38:51 +08:00
|
|
|
#B="-B12"
|
2012-08-31 00:43:34 +08:00
|
|
|
DBG="-d"
|
2014-09-19 08:26:06 +08:00
|
|
|
L=b
|
|
|
|
#L=c
|
2012-08-31 00:43:34 +08:00
|
|
|
#DBG="-D2"
|
2014-10-11 05:00:40 +08:00
|
|
|
if test -f ./.libs/ncgen ; then
|
2014-07-24 01:25:49 +08:00
|
|
|
NCGEN="./.libs/ncgen"
|
2014-10-11 05:00:40 +08:00
|
|
|
else
|
|
|
|
NCGEN="./ncgen"
|
|
|
|
fi
|
2014-09-19 08:26:06 +08:00
|
|
|
alias q0="$NCGEN ${DBG} $K -l${L} $B $F"
|
|
|
|
alias qh="$NCGEN ${DBG} $K -l${L} $B -h $F"
|
2012-08-31 00:43:34 +08:00
|
|
|
alias qc="$NCGEN ${DBG} $K -lc $B $F"
|
2014-09-19 08:26:06 +08:00
|
|
|
alias qq="gdb --args $NCGEN ${DBG} $K -l${L} $B $F"
|
2014-10-11 05:00:40 +08:00
|
|
|
alias qqh="gdb --args $NCGEN ${DBG} $K -l${L} $B -h $F"
|
2012-08-31 00:43:34 +08:00
|
|
|
alias qqc="gdb --args $NCGEN ${DBG} $K -lc $B $F"
|
2014-09-19 08:26:06 +08:00
|
|
|
alias qv="valgrind --leak-check=full $NCGEN ${DBG} $K -l${L} $B $F"
|
|
|
|
|
|
|
|
NCGEN3="../ncgen3/ncgen3"
|
|
|
|
alias p0="$NCGEN3 -b $F"
|
|
|
|
alias pc="$NCGEN3 -lc $F"
|
2012-02-14 08:25:32 +08:00
|
|
|
|
|
|
|
|
|
|
|
|