jc/_run_all_tests.jai

18 lines
923 B
Text

#scope_file #run {
compiler :: #import "Compiler";
compiler.set_build_options_dc(.{ do_output = false });
// @note(judah): we use relative imports here because that'll
// print cleaner file locations.
#import,file "./array/module.jai"(RUN_TESTS_AT_COMPILE_TIME = true);
#import,file "./encoding/module.jai"(RUN_TESTS_AT_COMPILE_TIME = true);
#import,file "./hash/module.jai"(RUN_TESTS_AT_COMPILE_TIME = true);
#import,file "./memory/module.jai"(RUN_TESTS_AT_COMPILE_TIME = true);
#import,file "./meta/module.jai"(RUN_TESTS_AT_COMPILE_TIME = true);
#import,file "./platform/module.jai"(RUN_TESTS_AT_COMPILE_TIME = true);
rmath :: #import,file "./math/module.jai"(.radians, RUN_TESTS_AT_COMPILE_TIME = true);
dmath :: #import,file "./math/module.jai"(.degrees, RUN_TESTS_AT_COMPILE_TIME = true);
tmath :: #import,file "./math/module.jai"(.turns, RUN_TESTS_AT_COMPILE_TIME = true);
}