-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.hxml
More file actions
40 lines (32 loc) · 1.1 KB
/
Copy pathtest.hxml
File metadata and controls
40 lines (32 loc) · 1.1 KB
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
-cp src
-cp test
# Test libraries. `dropecho.testing` auto-discovers every `*Tests.hx` class on
# the classpath and injects the `--main` entry point itself, so none is set here.
-lib dropecho.testing
-lib utest
-D analyzer-optimize
-D analyzer-user-var-fusion
-w -WDeprecated
# Compile the whole library so coverage sees every module, not just what the
# tests reach.
--macro include('', true, null, ['src'])
--each
# The suite runs on every runnable target below. These mirror the program
# targets in targets/ — gdscript and docs are skipped (not runnable test
# programs) and js-esm shares the js runtime, so neither adds test coverage.
# JS (Node)
--next
-lib hxnodejs
-D js-es=6
-js artifacts/js_test.cjs
# C# — commented out: builds and passes under mono, but the dropecho.testing
# runner execs the .exe directly, which needs mono registered for .exe (Windows,
# or a binfmt_misc mono entry on Linux). Uncomment where that is set up.
# -D unsafe is required: the hxcs std library uses unsafe pointers.
# --next
# -D unsafe
# -D net-ver=50
# -cs artifacts/cs_test
# Python
--next
-python artifacts/py_test.py