|
|
|
@ -522,11 +522,9 @@ executable="BC_EXEC"
|
|
|
|
|
|
|
|
|
|
bc_test="@tests/all.sh bc $extra_math 1 $generate_tests 0 \$(BC_EXEC)" |
|
|
|
|
bc_time_test="@tests/all.sh bc $extra_math 1 $generate_tests 1 \$(BC_EXEC)" |
|
|
|
|
bc_history_test="@tests/history.sh bc \$(BC_EXEC)" |
|
|
|
|
|
|
|
|
|
dc_test="@tests/all.sh dc $extra_math 1 $generate_tests 0 \$(DC_EXEC)" |
|
|
|
|
dc_time_test="@tests/all.sh dc $extra_math 1 $generate_tests 1 \$(DC_EXEC)" |
|
|
|
|
dc_history_test="@tests/history.sh dc \$(DC_EXEC)" |
|
|
|
|
|
|
|
|
|
timeconst="@tests/bc/timeconst.sh tests/bc/scripts/timeconst.bc \$(BC_EXEC)" |
|
|
|
|
|
|
|
|
@ -558,7 +556,6 @@ if [ "$bc_only" -eq 1 ]; then
|
|
|
|
|
|
|
|
|
|
dc_test="@printf 'No dc tests to run\\\\n'" |
|
|
|
|
dc_time_test="@printf 'No dc tests to run\\\\n'" |
|
|
|
|
dc_history_test="@printf 'No dc history tests to run\\\\n'" |
|
|
|
|
vg_dc_test="@printf 'No dc tests to run\\\\n'" |
|
|
|
|
|
|
|
|
|
install_prereqs=" install_bc_manpage" |
|
|
|
@ -580,7 +577,6 @@ elif [ "$dc_only" -eq 1 ]; then
|
|
|
|
|
|
|
|
|
|
bc_test="@printf 'No bc tests to run\\\\n'" |
|
|
|
|
bc_time_test="@printf 'No bc tests to run\\\\n'" |
|
|
|
|
bc_history_test="@printf 'No bc history tests to run\\\\n'" |
|
|
|
|
vg_bc_test="@printf 'No bc tests to run\\\\n'" |
|
|
|
|
|
|
|
|
|
timeconst="@printf 'timeconst cannot be run because bc is not built\\\\n'" |
|
|
|
@ -792,22 +788,12 @@ if [ "$hist" -eq 1 ]; then
|
|
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [ "$hist" -eq 0 ]; then |
|
|
|
|
bc_history_test="@printf 'No history tests to run\\\\n'" |
|
|
|
|
dc_history_test="@printf 'No history tests to run\\\\n'" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [ "$extra_math" -eq 1 ] && [ "$bc" -ne 0 ]; then |
|
|
|
|
BC_LIB2_O="\$(GEN_DIR)/lib2.o" |
|
|
|
|
else |
|
|
|
|
BC_LIB2_O="" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [ "$prompt" -eq 0 ]; then |
|
|
|
|
bc_history_test="@printf 'Cannot run history tests without a prompt\\\\n'" |
|
|
|
|
dc_history_test="@printf 'Cannot run history tests without a prompt\\\\n'" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
GEN="strgen" |
|
|
|
|
GEN_EXEC_TARGET="\$(HOSTCC) \$(HOSTCFLAGS) -o \$(GEN_EXEC) \$(GEN_C)" |
|
|
|
|
CLEAN_PREREQS=" clean_gen" |
|
|
|
@ -914,11 +900,9 @@ contents=$(replace "$contents" "EXEC" "$executable")
|
|
|
|
|
|
|
|
|
|
contents=$(replace "$contents" "BC_TEST" "$bc_test") |
|
|
|
|
contents=$(replace "$contents" "BC_TIME_TEST" "$bc_time_test") |
|
|
|
|
contents=$(replace "$contents" "BC_HISTORY_TEST" "$bc_history_test") |
|
|
|
|
|
|
|
|
|
contents=$(replace "$contents" "DC_TEST" "$dc_test") |
|
|
|
|
contents=$(replace "$contents" "DC_TIME_TEST" "$dc_time_test") |
|
|
|
|
contents=$(replace "$contents" "DC_HISTORY_TEST" "$dc_history_test") |
|
|
|
|
|
|
|
|
|
contents=$(replace "$contents" "VG_BC_TEST" "$vg_bc_test") |
|
|
|
|
contents=$(replace "$contents" "VG_DC_TEST" "$vg_dc_test") |
|
|
|
|