Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/std/core/runtime_test.c3
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// a copy of which can be found in the LICENSE_STDLIB file.
module std::core::runtime;
import std::core::test @public;
import std::core::log;
import std::core::mem::allocator @public;
import libc, std::time, std::io, std::sort;
import std::os::env;
Expand Down Expand Up @@ -167,6 +168,7 @@ fn void unmute_output(bool has_error) @local

fn bool run_tests(String[] args, TestUnit[] tests) @private
{
log::set_priority_all(LogPriority.VERBOSE);
usz max_name;
bool sort_tests = true;
bool check_leaks = true;
Expand Down
2 changes: 2 additions & 0 deletions test/unit/stdlib/core/test_test.c3
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ fn void test_std_out_hijack()
io::printf("printf: aldsjalsdjlasjdlja\n");
io::eprint("eprint: aldsjalsdjlasjdlja\n");
io::eprintfn("eprintfn: aldsjalsdjlasjdlja\n");
log::error("log::error: aldsjalsdjlasjdlja\n");
log::verbose("log::verbose: aldsjalsdjlasjdlja\n");
io::fprint(io::stdout(), "fprint: stdout aldsjalsdjlasjdlja\n")!!;
io::fprint(io::stderr(), "fprint: stderr aldsjalsdjlasjdlja\n")!!;
io::fprintf(io::stderr(), "fprintf: stderr aldsjalsdjlasjdlja\n")!!;
Expand Down
Loading