1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
# Rebuild the test fonts and then run the regression test
# Run: nmake -f regtest.mak
RTEXE = ..\Debug
GRCEXE = ..\..\..\Release
FONTS = .
TEST_FONTS =\
$(FONTS)\SchTest.ttf\
$(FONTS)\CharisTest.ttf\
$(FONTS)\PigLatinTest_v2.ttf\
$(FONTS)\PigLatinTest_v3.ttf\
$(FONTS)\PadaukTest.ttf
all : deleteTestFonts $(GRCEXE)\grcompiler.exe $(TEST_FONTS) grcregtest.log
check : deleteTestFonts $(GRCEXE)\grcompiler.exe $(TEST_FONTS) regtest.log
deleteTestFonts :
- del $(FONTS)\SchTest.ttf
- del $(FONTS)\CharisTest.ttf
- del $(FONTS)\PigLatinTest_v2.ttf
- del $(FONTS)\PigLatinTest_v3.ttf
- del $(FONTS)\PadaukTest.ttf
- del .\grcregtest.log
- del .\regtest.log
$(FONTS)\SchTest.ttf :
$(GRCEXE)\grcompiler -v2 $(FONTS)\SchMain.gdl $(FONTS)\SchInput.ttf $(FONTS)\SchTest.ttf
$(FONTS)\CharisTest.ttf :
$(GRCEXE)\grcompiler -v2 $(FONTS)\CharisMain.gdl $(FONTS)\CharisInput.ttf $(FONTS)\CharisTest.ttf
$(FONTS)\PigLatinTest_v2.ttf :
$(GRCEXE)\grcompiler -v2 $(FONTS)\PigLatinMain.gdl $(FONTS)\PigLatinInput.ttf $(FONTS)\PigLatinTest_v2.ttf
$(FONTS)\PigLatinTest_v3.ttf :
$(GRCEXE)\grcompiler -v3 $(FONTS)\PigLatinMain.gdl $(FONTS)\PigLatinInput.ttf $(FONTS)\PigLatinTest_v3.ttf
$(FONTS)\PadaukTest.ttf :
$(GRCEXE)\grcompiler -v3 $(FONTS)\PadaukMain.gdl $(FONTS)\PadaukInput.ttf $(FONTS)\PadaukTest.ttf
grcregtest.log :
- @echo -----
- @echo -----
- @echo ----- RUNNING TESTS -----
- @echo -----
- $(RTEXE)\GrcRegressionTest.exe $(FONTS)\SchBenchmark.ttf $(FONTS)\SchTest.ttf
- $(RTEXE)\GrcRegressionTest.exe $(FONTS)\CharisBenchmark.ttf $(FONTS)\CharisTest.ttf
- $(RTEXE)\GrcRegressionTest.exe $(FONTS)\PigLatinBenchmark_v2.ttf $(FONTS)\PigLatinTest_v2.ttf
- $(RTEXE)\GrcRegressionTest.exe $(FONTS)\PigLatinBenchmark_v3.ttf $(FONTS)\PigLatinTest_v3.ttf
- $(RTEXE)\GrcRegressionTest.exe $(FONTS)\PadaukBenchmark_v3.ttf $(FONTS)\PadaukTest.ttf
- cmp --verbose $(FONTS)/SchBenchmark.ttf $(FONTS)/SchTest.ttf
- cmp --verbose $(FONTS)/CharisBenchmark.ttf $(FONTS)/CharisTest.ttf
- cmp --verbose $(FONTS)/PigLatinBenchmark_v2.ttf $(FONTS)/PigLatinTest_v2.ttf
- cmp --verbose $(FONTS)/PigLatinBenchmark_v3.ttf $(FONTS)/PigLatinTest_v3.ttf
- cmp --verbose $(FONTS)/PadaukBenchmark_v3.ttf $(FONTS)/PadaukTest.ttf
regtest.log :
$(RTEXE)\GrcRegressionTest.exe -l regtest.log $(FONTS)\SchBenchmark.ttf $(FONTS)\SchTest.ttf
$(RTEXE)\GrcRegressionTest.exe -l regtest.log $(FONTS)\CharisBenchmark.ttf $(FONTS)\CharisTest.ttf
$(RTEXE)\GrcRegressionTest.exe -l regtest.log $(FONTS)\PigLatinBenchmark_v2.ttf $(FONTS)\PigLatinTest_v2.ttf
$(RTEXE)\GrcRegressionTest.exe -l regtest.log $(FONTS)\PigLatinBenchmark_v3.ttf $(FONTS)\PigLatinTest_v3.ttf
$(RTEXE)\GrcRegressionTest.exe -l regtest.log $(FONTS)\PadaukBenchmark_v3.ttf $(FONTS)\PadaukTest.ttf
|