1. 14 Jun, 2017 2 commits
    • Charles Ferguson's avatar
      Fix for perl test runs. · 551eb49f
      Charles Ferguson authored
      Perl test runs would fail due to problems with the deletion of the
      xml files - of which there were none. Similarly, we didn't support
      version numbers of modules that were not integers, without quotes.
    • Charles Ferguson's avatar
      Add support for common directories for artifacts. Merge JUnit files. · c29d75a1
      Charles Ferguson authored
      We now have common directories for the artifacts produced, the logs
      we generate and the environment files that we use. These fixed
      directories mean that an automation system can more readily rely on
      the locations provided.
      We have a tidier mechanism for reporting the results in XML, by
      writing multiple files, and then merging them. We could still do a
      lot more with this, but it works pretty well right now.
      This change covers all the components, but it has only been tested
      with the Python code really.
  2. 11 Jun, 2017 3 commits
    • Charles Ferguson's avatar
      More updates to fix use of sed, this time on linux. · 3b7c0a3f
      Charles Ferguson authored
      The {} usage on OSX appears to work just fine, but on Linux, it
      reports that the values in the braces are badly formed. This time I
      think it's the GNU tool that's right, and escaping the braces seems
      to fix the issue.
      Additionally we handle the escaping of the replaced strings a little
    • Charles Ferguson's avatar
      Small change to the output message to stop warning. · dc648b89
      Charles Ferguson authored
      The ~ character in double quotes was being reported as a warning
      that it would not be expanded, from shellcheck. We know it won't
      be, as we're just printing a message. Putting it in single quotes
      should remove the warning.
    • Charles Ferguson's avatar
      Try to fix the usage of sed with fish and the exported variables on OSX. · 492b09b0
      Charles Ferguson authored
      On OSX there are different limitations, such as not being able to have
      empty sub-expressions in the regular expressions passed to sed.
      Additionally, having a different version of local::lib installed which
      understands fish, and generates the exports differently broke the
      automated translater. Working with 'any version' is hard, but I think
      we may be nearly there.
  3. 09 Jun, 2017 1 commit
    • Charles Ferguson's avatar
      Fix the fish translations of the environment syntax. · 07c84e68
      Charles Ferguson authored
      The environment we got back from the 'local::lib' tool is being
      translated into 'fish' commands so that the environment is set up
      properly for the fish sell. However, it was broken. The expressions
      that were given had incorrect escaping, so they ended up not working
      properly, and the regular user environment was used instead.
      The sed translations should now be fixed. Needs checking on OSX, but
      it certainly works on Linux.
  4. 04 Jun, 2017 1 commit
    • Charles Ferguson's avatar
      Update perl-env-setup to search modules manually. Use perl -f. · 68c0dc70
      Charles Ferguson authored
      The module search used to use a 'use' statement to find the modules
      and then read the '$VERSION' variable. This would allow code to be
      executed (which would be a bad thing), and means that we're at the
      whim of what the module does to '$VERSION'. In this case, the issue
      lies with DBI, which calls 'eval' on the version number, turning
      1.630 into 1.63, which isn't the same thing.
      Now, we try to locate the file and extract the version number
      from it as assigned to a variable. If we can do this then all is
      well and we use that. If we cannot, then we fall back to using
      'require', which will then do the code execution, but should at
      least find the file.
      The -f option disables the reading of the site customisations,
      which could affect the operation of the code.
  5. 28 May, 2017 1 commit
  6. 27 May, 2017 2 commits