1 package Test
::Smoke
::Fact
::Config
;
6 use base
"Metabase::Fact::Hash";
8 our $VERSION = "0.011";
28 my $content = $self->content;
29 $content->{arguments
} ||= "[default]";
30 $content->{parallel
} ||= 0;
31 $content->{debugging
} ||= 0;
32 $self->SUPER::validate_content
;
38 my $content = $self->content;
40 return { map { $_ => $content->{$_} }
41 $self->required_keys, $self->optional_keys };
44 sub content_metadata_types
48 return { map { $_ => "//str" }
49 $self->required_keys, $self->optional_keys };
50 } # content_metadata_types
58 Test::Smoke::Fact::Config - The Configuration for a Test::Smoke report
62 my $fact = Test::Smoke::Fact::Config->new (
63 resource => "http://perl5.git.perl.org/perl.git/8c576062",
65 arguments => "-Duse64bitall -DDEBUGGING",
73 This fact just shows the configuration that was smoked.
77 A space separated list of Configure options.
81 A boolean value indicating if this build was tested in parallel.
82 Both L<Test::Smoke>'s C<harness_options> and the environment variable
83 C<TEST_JOBS> can enable parallel smokes.
87 L<Test::Smoke>, L<Test::Smoke::Metabase>, L<Metabase::Fact>.
88 L<Metabase::Fact::Hash>.
94 =head1 COPYRIGHT AND LICENSE
96 Copyright (c) 2011-2012 by H.Merijn Brand
98 This library is free software; you can redistribute it and/or modify
99 it under the same terms as Perl itself.