forked from py2many/py2many
-
Notifications
You must be signed in to change notification settings - Fork 2
/
run_tests.sh
44 lines (33 loc) · 2 KB
/
run_tests.sh
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
#!/bin/bash
TESTS="tests"
# cd "$PY2MANY_HOME"
# Run Translation tests
sudo ./setup.py install
## Base tests
py2many --julia=1 "$TESTS/cases" --outdir=../pyjl_tests/cases-py2many
# python py2many.py --julia=1 tests/cases --outdir=../pyjl_tests/cases-py2many # Temporary for windows
# Example with config
# py2many --julia=1 --config=pyjl/test_files/setup.ini "$TESTS/cases/sealed.py" --outdir=../pyjl_tests/cases-py2many
## Python tests
# py2many --julia=1 "$TESTS/cases_py" --outdir=../pyjl_tests/cases_py-py2many
# python py2many.py --julia=1 "$TESTS/cases_py" --outdir=../pyjl_tests/cases_py-py2many # Temporary for windows
## Performance tests
py2many --julia=1 "$TESTS/performance_tests" --outdir=../pyjl_tests/performance_tests-py2many
# TODO: Review this
# python py2many.py --julia=1 tests/performance_tests --outdir=../pyjl_tests/performance_tests-py2many # Temporary for windows
## Pywin tests
# py2many --julia=1 "../pyjl_tests/pywin" --outdir=../pyjl_tests/pywin-py2many
# py2many --julia=1 "../pyjl_tests/demo" --outdir=../pyjl_tests/demo-py2many # Demo run
# python py2many.py --julia=1 "../pyjl_tests/pywin" --outdir=../pyjl_tests/pywin-py2many # Temporary for windows
# Retinaface
# py2many --julia=1 "../pyjl_tests/retinaface" --outdir=../pyjl_tests/retinaface-py2many
# Neural network
# py2many --julia=1 "../pyjl_tests/network/" --outdir=../pyjl_tests/network-py2many
# python py2many.py --julia=1 "../pyjl_tests/network/" --outdir=../pyjl_tests/network-py2many # Temporary for windows
# py2many --julia=1 "../python-zstd/zstd-lib/" --outdir=../python-zstd/zstd-lib-py2many
# Misc (Testing the transpiler)
# py2many --julia=1 "$TESTS/cases/branch.py" --config=pyjl/test_files/setup.ini --outdir=../pyjl_tests/cases-py2many
# py2many --julia=1 "$TESTS/performance_tests/" --config=pyjl/test_files/setup.ini --outdir=../pyjl_tests/performance_tests-py2many/
# py2many --julia=1 "$TESTS/performance_tests/" --config=pyjl/test_files/setup.ini --outdir=../pyjl_tests/performance_tests-py2many
# Run Transpiler Tests
# TODO