OCaml HTML5 parser/serialiser based on Python's JustHTML
1(library 2 (name test_report) 3 (modules test_report)) 4 5(executable 6 (name test_all) 7 (modules test_all) 8 (libraries bytesrw html5rw jsont jsont.bytesrw test_report)) 9 10(executable 11 (name test_html5lib) 12 (modules test_html5lib) 13 (libraries bytesrw html5rw test_report)) 14 15(rule 16 (alias runtest) 17 (deps 18 (glob_files ../html5lib-tests/tree-construction/*.dat)) 19 (action 20 (run %{exe:test_html5lib.exe} ../html5lib-tests/tree-construction))) 21 22(executable 23 (name test_tokenizer) 24 (modules test_tokenizer) 25 (libraries bytesrw html5rw jsont jsont.bytesrw test_report)) 26 27(rule 28 (alias runtest) 29 (deps 30 (glob_files ../html5lib-tests/tokenizer/*.test)) 31 (action 32 (run %{exe:test_tokenizer.exe} ../html5lib-tests/tokenizer))) 33 34(executable 35 (name test_encoding) 36 (modules test_encoding) 37 (libraries html5rw test_report)) 38 39(rule 40 (alias runtest) 41 (deps 42 (glob_files ../html5lib-tests/encoding/*.dat)) 43 (action 44 (run %{exe:test_encoding.exe} ../html5lib-tests/encoding))) 45 46(executable 47 (name test_serializer) 48 (modules test_serializer) 49 (libraries html5rw jsont jsont.bytesrw test_report)) 50 51(rule 52 (alias runtest) 53 (deps 54 (glob_files ../html5lib-tests/serializer/*.test)) 55 (action 56 (run %{exe:test_serializer.exe} ../html5lib-tests/serializer))) 57 58(library 59 (name validator_messages) 60 (modules validator_messages) 61 (libraries jsont jsont.bytesrw)) 62 63(library 64 (name expected_message) 65 (modules expected_message) 66 (libraries html5rw.check str jsont jsont.bytesrw)) 67 68(executable 69 (name test_validator) 70 (modules test_validator) 71 (libraries bytesrw html5rw html5rw.check str jsont jsont.bytesrw test_report validator_messages expected_message unix)) 72 73(rule 74 (alias runtest) 75 (deps 76 (source_tree ../validator/tests)) 77 (action 78 (run %{exe:test_validator.exe} --both ../validator/tests))) 79 80(executable 81 (name test_roundtrip) 82 (modules test_roundtrip) 83 (libraries bytesrw html5rw html5rw.check astring test_report)) 84 85(rule 86 (alias runtest) 87 (deps 88 (source_tree ../validator/tests)) 89 (action 90 (run %{exe:test_roundtrip.exe} ../validator/tests))) 91 92(executable 93 (name test_comprehensive) 94 (modules test_comprehensive) 95 (libraries bytesrw html5rw html5rw.check jsont jsont.bytesrw test_report validator_messages expected_message unix)) 96 97(rule 98 (alias runtest) 99 (deps 100 (glob_files ../html5lib-tests/tree-construction/*.dat) 101 (glob_files ../html5lib-tests/tokenizer/*.test) 102 (glob_files ../html5lib-tests/encoding/*.dat) 103 (source_tree ../validator/tests)) 104 (action 105 (run %{exe:test_comprehensive.exe} ../html5lib-tests ../validator/tests comprehensive_test_report.html)))