Commit e4bc4716 authored by POTTIER Francois's avatar POTTIER Francois

Small fixes.

parent 8293f6dc
...@@ -17,8 +17,7 @@ fi ...@@ -17,8 +17,7 @@ fi
# Build the parser with the code back-end. # Build the parser with the code back-end.
echo "Building (code)..." echo "Building (code)..."
make -C $GENE clean >/dev/null make -C $GENE MENHIR="$MENHIR" clean all >/dev/null
make -C $GENE MENHIR="$MENHIR" >/dev/null
# Dry run (measures the random generation time). # Dry run (measures the random generation time).
echo Dry run: echo Dry run:
...@@ -32,8 +31,7 @@ cat $GENE/code.time ...@@ -32,8 +31,7 @@ cat $GENE/code.time
# Build the parser with the table back-end. # Build the parser with the table back-end.
echo "Building (table)..." echo "Building (table)..."
make -C $GENE clean >/dev/null make -C $GENE MENHIR="$MENHIR --table" clean all >/dev/null
make -C $GENE MENHIR="$MENHIR --table" >/dev/null
# Run the table back-end. # Run the table back-end.
echo Table back-end: echo Table back-end:
......
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
# Build the parser with the code back-end and run it. # Build the parser with the code back-end and run it.
echo "Building and running (code)..." echo "Building and running (code)..."
make -C $CALC clean >/dev/null make -C $CALC MENHIR="$MENHIR --trace" clean all >/dev/null
make -C $CALC MENHIR="$MENHIR --trace" >/dev/null
for f in $DATA/*.real.in ; do for f in $DATA/*.real.in ; do
b=${f%.in} b=${f%.in}
$CALC/calc < $f > $b.code.out 2> $b.code.err $CALC/calc < $f > $b.code.out 2> $b.code.err
...@@ -20,8 +19,7 @@ done ...@@ -20,8 +19,7 @@ done
# Build the parser with the table back-end and run it. # Build the parser with the table back-end and run it.
echo "Building and running (table)..." echo "Building and running (table)..."
make -C $CALC clean >/dev/null make -C $CALC MENHIR="$MENHIR --trace --table" clean all >/dev/null
make -C $CALC MENHIR="$MENHIR --trace --table" >/dev/null
for f in $DATA/*.real.in ; do for f in $DATA/*.real.in ; do
b=${f%.in} b=${f%.in}
$CALC/calc < $f > $b.table.out 2> $b.table.err $CALC/calc < $f > $b.table.out 2> $b.table.err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment