1. 19 Oct, 2014 1 commit
    • Krzysztof Gogolewski's avatar
      Python 3 support, second attempt (Trac #9184) · d576fc38
      Krzysztof Gogolewski authored
      This is a fixup of https://phabricator.haskell.org/D233
      The only difference is in findTFiles (first commit), which
      previously broke Windows runner; now I translated literally
      instead attempting to improve it, and checked it works.
      Test Plan:
      I used validate under 2,3 on Linux and under 2 on msys2.
      On Windows I've seen a large number of failures, but they don't
      seem to be connected with the patch.
      Reviewers: hvr, simonmar, thomie, austin
      Reviewed By: austin
      Subscribers: thomie, carter, ezyang, simonmar
      Differential Revision: https://phabricator.haskell.org/D310
      GHC Trac Issues: #9184
  2. 03 Oct, 2014 1 commit
  3. 01 Oct, 2014 1 commit
    • Krzysztof Gogolewski's avatar
      Basic Python 3 support for testsuite driver (Trac #9184) · 084d241b
      Krzysztof Gogolewski authored
      Most of the changes is adaptation of old Python 2 only code.
      My priority was not breaking Python 2, and so I avoided bigger
      changes to the driver. In particular, under Python 3 the output
      is a str and buffering cannot be disabled.
      To test, define PYTHON=python3 in testsuite/mk/boilerplate.mk.
      Thanks to aspidites <emarshall85@gmail.com> who provided the initial patch.
      Test Plan: validate under 2 and 3
      Reviewers: hvr, simonmar, thomie, austin
      Reviewed By: thomie, austin
      Subscribers: aspidites, thomie, simonmar, ezyang, carter
      Differential Revision: https://phabricator.haskell.org/D233
      GHC Trac Issues: #9184
  4. 02 Oct, 2013 1 commit
  5. 17 Mar, 2012 1 commit
    • gmainlan@microsoft.com's avatar
      Fix fingerprints for merge commits. · 73ce2e70
      gmainlan@microsoft.com authored
      fingerprint.py executes `git log HEAD^.. --pretty=oneline` to get the hash of
      the HEAD commit for each git repo, but didn't properly handle the case where the
      HEAD commit is a merge. In that case, more than one hash will be output. Now
      fingerprint.py executes `git log -1 --pretty=oneline` instead.
  6. 27 Jun, 2011 1 commit
    • dmp's avatar
      Fix strftime string in fingerprint script · 5a0b3770
      dmp authored
      There was an extra % in the strftime string used in the fingerprint
      script to name the output files. It worked fine in python 2.6 on mac
      os, but was producing bad file names in python 2.7 on linux.
  7. 22 May, 2011 1 commit
    • dmp's avatar
      Added utility to uniquely identify ghc repo states · 36df2f39
      dmp authored
      This commit adds fingerprint.py python script that can be used to
      create and restore "fingerprints" of a ghc repo configuration. A
      fingerprint is a list of (sub-repo, commit) pairs. It can be used in
      place of git submodules to record and reinstate the entire commit
      state of the git repos used by ghc.