diff --git a/Makefile.in b/Makefile.in index 69addc1d3..5b9385eff 100644 --- a/Makefile.in +++ b/Makefile.in @@ -220,7 +220,9 @@ msg_test: all_nomsg .PHONY: test ifeq ($(CFG_WITH_LONGTESTS),yes) # Local... Else don't burden users -test: smoke-test examples test_regress +test: smoke-test test_regress +# examples is part of test_regress's test_regress/t/t_a2_examples.pl +# (because that allows it to run in parallel with other test_regress's) else test: smoke-test examples endif @@ -231,8 +233,8 @@ endif @echo smoke-test: all_nomsg - test_regress/t/t_a_first_cc.pl - test_regress/t/t_a_first_sc.pl + test_regress/t/t_a1_first_cc.pl + test_regress/t/t_a2_first_sc.pl test_regress: all_nomsg $(MAKE) -C test_regress diff --git a/test_regress/t/t_a_first_cc.pl b/test_regress/t/t_a1_first_cc.pl similarity index 100% rename from test_regress/t/t_a_first_cc.pl rename to test_regress/t/t_a1_first_cc.pl diff --git a/test_regress/t/t_a_first_cc.v b/test_regress/t/t_a1_first_cc.v similarity index 100% rename from test_regress/t/t_a_first_cc.v rename to test_regress/t/t_a1_first_cc.v diff --git a/test_regress/t/t_a_first_sc.pl b/test_regress/t/t_a2_first_sc.pl similarity index 95% rename from test_regress/t/t_a_first_sc.pl rename to test_regress/t/t_a2_first_sc.pl index b09f932f0..72415320a 100755 --- a/test_regress/t/t_a_first_sc.pl +++ b/test_regress/t/t_a2_first_sc.pl @@ -13,7 +13,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di scenarios(simulator => 1); -top_filename("t/t_a_first_cc.v"); +top_filename("t/t_a1_first_cc.v"); $DEBUG_QUIET = "--debug --debugi 0 --gdbbt --no-dump-tree"; diff --git a/test_regress/t/t_a_selftest.pl b/test_regress/t/t_a3_selftest.pl similarity index 100% rename from test_regress/t/t_a_selftest.pl rename to test_regress/t/t_a3_selftest.pl diff --git a/test_regress/t/t_a4_examples.pl b/test_regress/t/t_a4_examples.pl new file mode 100755 index 000000000..43d55bcf5 --- /dev/null +++ b/test_regress/t/t_a4_examples.pl @@ -0,0 +1,16 @@ +#!/usr/bin/perl +if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.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 +# Lesser General Public License Version 3 or the Perl Artistic License +# Version 2.0. + +scenarios(dist => 1); + +my $root = ".."; +run(cmd=>["cd $root && make examples"]); + +ok(1); +1;