mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
test: make output deterministic
This commit is contained in:
@@ -21,6 +21,7 @@ if ($ENV{VERILATOR_TEST_NO_ATTRIBUTES}) {
|
||||
|
||||
sub gen_compile_commands_json {
|
||||
my $json = JSON::PP->new->utf8->pretty;
|
||||
$json->canonical(); # Sort hash keys on ouptut
|
||||
|
||||
my $root_dir = abs_path("..");
|
||||
my $srcs_dir = abs_path("./t/t_dist_attributes");
|
||||
|
||||
Reference in New Issue
Block a user