Tests: Avoid poluting non-obj_ files.
This commit is contained in:
parent
c1a9fe07e9
commit
85de3048a5
|
|
@ -74,14 +74,10 @@ module t;
|
||||||
|
|
||||||
task automatic test4; begin
|
task automatic test4; begin
|
||||||
int fd;
|
int fd;
|
||||||
// Small
|
// Wide filename
|
||||||
fd = $fopen("a");
|
fd = $fopen({`STR(`TEST_OBJ_DIR),
|
||||||
if (fd == 0) fail("Small filename could not be opened.");
|
"some_very_large_filename_that_no_one_would_ever_use_",
|
||||||
$fclose(fd);
|
"except_to_purposefully_break_my_beautiful_code.dat"});
|
||||||
// Large
|
|
||||||
fd = $fopen({"some_very_large_filename_that_no_one_would_ever_use_",
|
|
||||||
"except_to_purposefully_break_my_beautiful_code_",
|
|
||||||
"in a regression setting.dat"});
|
|
||||||
if (fd == 0) fail("Long filename could not be opened.");
|
if (fd == 0) fail("Long filename could not be opened.");
|
||||||
$fclose(fd);
|
$fclose(fd);
|
||||||
end endtask
|
end endtask
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue