hydra/t/queue-runner/default-machine-file.t
2021-12-14 20:52:40 -05:00

23 lines
463 B
Perl

use feature 'unicode_strings';
use strict;
use warnings;
use Setup;
use Test2::V0;
my $ctx = test_context(
nix_config => q|
system-features = test-system-feature
|
);
my $builds = $ctx->makeAndEvaluateJobset(
expression => "default-machine-file.nix",
build => 1,
);
my $build = $builds->{"requireExperimentalFeatures"};
is($build->finished, 1, "Build should be finished.");
is($build->buildstatus, 0, "Build status should be zero");
done_testing;