Commit Graph

5 Commits

Author SHA1 Message Date
lhchavez 1b45e29af5 Update the Travis setup for release-0.24
This change:

* Stops running tests under Go 1.1 and Go 1.2, since Travis no longer
  supports them.
* Stops running tests under Go tip. Go 1.8+ requires runtime.KeepAlive()
  to keep some of the references alive across CGo invocations, but that
  was introduced in Go 1.7, and that would break older Go versions.
* Fixes a formatting bug that was breaking under newer Go releases.
* Uprevs libgit (test) to v0.24.6.
2020-03-08 13:26:39 -07:00
Carlos Martín Nieto e55c00eca7 Run the tests in parallel
This saves about 1s, or 1/3 of the test runtime. The linking is still
much slower, but this we can control.
2016-08-27 19:21:05 +02:00
Augie Fackler f18ea412dc config_test: properly detect failed config writes
This patch fixes the setup stage of the config tests to notice when
the writes fail (eg $PWD is a read-only filesystem) and to correctly
skip the entire test function as a result.
2015-11-02 16:00:04 -05:00
David Pierce 81e0b16d9f Tests config lookup methods 2015-10-08 09:47:23 -07:00
David Pierce 80cf533fe4 Config#LookupString uses git_buf to load value 2015-10-08 09:37:36 -07:00