Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1002 Bytes

README.md

File metadata and controls

43 lines (26 loc) · 1002 Bytes

DRLTT TEST

DRLTT Python Test

Python testing is done with pytest. To launch the Python testing, run ./test/test-python.sh:

.. literalinclude:: ../../../test/test-python.sh :language: bash

DRLTT CPP Test

CPP testing is performed through gtest immediately after building. To launch the CPP testing, run ./test/test-cpp.sh:

.. literalinclude:: ../../../test/test-cpp.sh :language: bash

Please refer to DRTLL SDK for details.

Accelerating CPP testing

To skip SDK exporting (e.g. while debugging the test running), run:

./test-cpp.sh test

To skip both SDK exporting and checkpoint generation (e.g. while debugging the test building), run:

./test-cpp.sh test reuse-checkpoint

To use a sample config with a shorter time for test data generation (a dummy training), run:

./test-cpp.sh fast test

TODO: refactor argument parsing logic in test scripts.

DRLTT Documentation Test

To test the Documentation, run ./test/test-doc.sh: