Files
binary/tests/main.sakura
T

14 lines
521 B
Plaintext
Raw Permalink Normal View History

2026-10-26 06:02:30 -05:00
# Runs the tests of one library, those in its folder beside this file. From the
# root of the repository, those of `binary::amd64`:
#
# sakurac run --lib binary::amd64=amd64 tests/main.sakura tests/amd64/*.sakura
#
# Add `-- --only TEXT` to run those whose name holds the text, and `-- --here` to
# run them in one program, as a debugger wants. Built with `sakurac build`, they
# run as an executable the same way.
import system;
import std::testing;
def main(args: span<strview>): void {
exit(tester::run(args));
}