15 lines
533 B
Plaintext
15 lines
533 B
Plaintext
# 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 std;
|
||
|
|
import system;
|
||
|
|
import std::testing;
|
||
|
|
|
||
|
|
def main(args: span<strview>): void {
|
||
|
|
exit(tester::run(args));
|
||
|
|
}
|