Run tests with yath

[?]
Feb 19, 2021, 10:04 PM
IH26BRUJQD2PPZJHYRDGSGETB4FS26UMXD63ACSRD4GW3V7EITCAC

Dependencies

  • [2] 7VQ4ALFY Update "make check" for the new queue runner
  • [3] RWNXH3H2 lastModified -> lastModifiedDate
  • [4] M2MAIY22 Add bar with 1
  • [5] ANJBFPBE Added the InfluxDBNotification plugin including a NixOS test
  • [6] HX4QYOYA add first evaluations tests
  • [7] PXUP3HRC hydra: query-all-tables.pl.in, set executable
  • [8] S5KKIQ3F * Remove accidentally commited foo/bar.
  • [9] LZVO64YG Merge in the first bits of the API work
  • [10] XEQNMJ73 Increase depth 0
  • [11] L4AI5YL6 Rename hydra_*.pl to hydra-*
  • [12] UGA45FNC Add a plugin for backing up builds in s3
  • [13] G2ZB6464 first test, not yet in buildprocess

Change contents

  • edit in flake.nix at line 129
    [3.2233]
    [3.2233]
    FileWhich
  • edit in flake.nix at line 149
    [3.2733]
    [3.2733]
    Test2Harness
  • replacement in tests/Makefile.am at line 29
    [2.1633][2.1633:1657]()
    evaluation-tests.pl \
    [2.1633]
    [2.1657]
    test.pl \
  • file move: evaluation-tests.pl (----------)evaluation.t (----------)
    [4.73]
    [4.804]
  • file addition: lib (d--r------)
    [4.73]
  • file move: Setup.pm (----------)Setup.pm (----------)
    [0.107]
    [4.518]
  • file addition: test.pl (----------)
    [4.73]
    #!/usr/bin/env perl
    # HARNESS-NO-PRELOAD
    # HARNESS-CAT-LONG
    # THIS IS A GENERATED YATH RUNNER TEST
    use strict;
    use warnings;
    use lib 'lib';
    BEGIN {
    use File::Which qw(which);
    $App::Yath::Script::SCRIPT = which 'yath';
    }
    use App::Yath::Util qw/find_yath/;
    system($^X, find_yath(), '-D', 'test', '--default-search' => './', @ARGV);
    my $exit = $?;
    # This makes sure it works with prove.
    print "1..1\n";
    print "not " if $exit;
    print "ok 1 - Passed tests when run by yath\n";
    print STDERR "yath exited with $exit" if $exit;
    exit($exit ? 255 : 0);