tests: delete set-up.pl / tear-down.pl

[?]
Feb 22, 2021, 6:33 PM
IRZYSVNO3XDP7JHJKK2E3NECZRG6XEXWJQHYBSZXCYS5A74BRKMQC

Dependencies

  • [2] GGVFNKMO tests: create database with the utf-8 locale
  • [3] IH26BRUJ Run tests with yath
  • [4] HX4QYOYA add first evaluations tests
  • [5] RBZRCTAL hydra: fixed and re-enabled evaluation tests
  • [6] PXUP3HRC hydra: query-all-tables.pl.in, set executable
  • [7] G2ZB6464 first test, not yet in buildprocess
  • [8] 7RO7CINM setup environment variables for tests
  • [9] LZVO64YG Merge in the first bits of the API work
  • [10] PBJJSE3D make sure jobs/* and Setup.pm is in tarball
  • [11] YL5OIJNQ disabled evaluation tests until i figure out why it fails in buildfarm and succeeds locally
  • [12] XEQNMJ73 Increase depth 0
  • [13] M2MAIY22 Add bar with 1
  • [14] ANJBFPBE Added the InfluxDBNotification plugin including a NixOS test
  • [15] 7VQ4ALFY Update "make check" for the new queue runner
  • [16] UGA45FNC Add a plugin for backing up builds in s3
  • [17] UQYHPQ6U Run PostgreSQL during "make check"
  • [18] L4AI5YL6 Rename hydra_*.pl to hydra-*
  • [19] WHS5RMPO
  • [20] S5KKIQ3F * Remove accidentally commited foo/bar.
  • [21] 3HRBFWGK tests: change postgresql socket dir to /tmp

Change contents

  • file deletion: set-up.pl (----------)
    [4.73][4.2097:2130](),[4.2130][4.2000:2000]()
    use strict;
    system("initdb -D postgres --locale C.UTF-8 ") == 0 or die;
    system("pg_ctl -D postgres -o \"-F -p 6433 -h '' -k /tmp \" -w start") == 0 or die;
    system("createdb -l C.UTF-8 -p 6433 hydra-test-suite") == 0 or die;
    system("hydra-init") == 0 or die;
  • file deletion: tear-down.pl (----------)
    [4.73][4.2405:2441](),[4.2441][4.2132:2132]()
    use strict;
    my $fail = 0;
    system("dropdb -p 6433 hydra-test-suite") == 0 or $fail = 1;
    system("pg_ctl -D postgres -w stop") == 0 or $fail = 1;
    system("chmod -R a+w nix") == 0 or $fail = 1;
    system("rm -rf postgres data nix git-repo hg-repo svn-repo svn-checkout svn-checkout-repo bzr-repo bzr-checkout-repo darcs-repo") == 0 or $fail = 1;
    system("rm -f .*-state") == 0 or $fail = 1;
    exit $fail;
  • replacement in tests/Makefile.am at line 28
    [4.103][4.1619:1633](),[4.1633][3.57:69](),[3.69][4.1657:1672](),[4.1657][4.1657:1672]()
    set-up.pl \
    test.pl \
    tear-down.pl
    [4.103]
    [4.125]
    test.pl