tests: workaround name conflict, causing false positives with msvc on windows, when both tests were executed at the same time (locked executable)

This commit is contained in:
Delyan Angelov 2023-11-07 14:40:40 +02:00
parent 22e17c3e8f
commit d86b3689d9
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
4 changed files with 5 additions and 5 deletions

View file

@ -32,7 +32,7 @@ fn test_can_compile_library() {
fn test_can_compile_main_program() {
os.chdir(cfolder) or {}
assert os.is_file(library_file_name)
result := v_compile('run use.v')
result := v_compile('run use_dl_module.v')
// dump(result)
assert result.output.contains('res: 4')
os.rm(library_file_name) or {}
@ -43,7 +43,7 @@ fn test_can_compile_and_use_library_with_skip_unused() {
os.rm(library_file_name) or {}
v_compile('-skip-unused -d no_backtrace -o library -shared modules/library/library.v')
assert os.is_file(library_file_name)
result := v_compile('run use.v')
result := v_compile('run use_dl_module.v')
assert result.output.contains('res: 4')
os.rm(library_file_name) or {}
}