verilator/test_regress/t/t_sys_file.pl
Wilson Snyder 8afd19648f Support
2008-06-26 08:52:02 -04:00

25 lines
543 B
Perl
Executable File

#!/usr/bin/perl
if (!$::Driver) { use FindBin; exec("./driver.pl", @ARGV, $0); die; }
# DESCRIPTION: Verilator: Verilog Test driver/expect definition
#
# Copyright 2003 by Wilson Snyder. This program is free software; you can
# redistribute it and/or modify it under the terms of either the GNU
# General Public License or the Perl Artistic License.
unlink("obj_dir/t_sys_file_test.log");
compile (
);
execute (
check_finished=>1,
);
file_grep ("obj_dir/t_sys_file_test.log",
qr/\[0\] hello v=12345667
\[0\] Hello2
/);
ok(1);
1;