k3s/hack/lib
Jeff Grafton 86b023fdd6 Once again, use native Ginkgo test runner instead of cmd/e2e.
This commit deletes cmd/e2e and updates hack/ginkgo-e2e.sh to use the
'ginkgo' command instead. All logic from cmd/e2e/e2e.go and
test/e2e/driver.go have been combined into the new file
test/e2e/e2e_test.go.

The test tarball now includes a built version of the test/e2e test
binary, which includes all tests under test/e2e. This was accomplished
by updating the build scripts to use 'go test -c' when a target name
ended with '.test', and adding a dependency on test/e2e/e2e.test.

This prebuilt test binary is passed to the Ginkgo runner in
hack/ginkgo-e2e.sh. In a future change, we can add support to run
Ginkgo against the source tree if it is available.

This change is generally intended to have no externally visible changes,
aside from the following caveats:
 - The -t/--tests flag has been removed
 - Calling cmd/e2e/e2e directly obviously won't work, but that was never
   intended to be supported anyway
 - If the GINKGO_PARALLEL environment variable is set to y, then ginkgo
   will run test specs in parallel. (Currently defaults to n, since some
   tests are broken in this mode.)

Additionally, several tests which made poor assumptions about cwd or
used testContext before it had been set have been fixed.
2015-05-15 11:54:53 -07:00
..
etcd.sh Merge pull request #7685 from jayunit100/etcd-minor 2015-05-04 11:21:02 +02:00
golang.sh Once again, use native Ginkgo test runner instead of cmd/e2e. 2015-05-15 11:54:53 -07:00
init.sh Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
logging.sh Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
test.sh Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
util.sh mkdir -p in doc generation 2015-05-13 12:50:25 -07:00
version.sh Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00