Переглянути джерело

Fix exclude list in make.ps1

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Daniel Nephin 8 роки тому
батько
коміт
e593b72cc9
3 змінених файлів з 3 додано та 3 видалено
  1. 1 1
      hack/make.ps1
  2. 1 1
      hack/make/.integration-test-helpers
  3. 1 1
      hack/test/unit

+ 1 - 1
hack/make.ps1

@@ -318,7 +318,7 @@ Function Run-UnitTests() {
     $pkgList = $pkgList | Select-String -Pattern "github.com/docker/docker"
     $pkgList = $pkgList | Select-String -NotMatch "github.com/docker/docker/vendor"
     $pkgList = $pkgList | Select-String -NotMatch "github.com/docker/docker/man"
-    $pkgList = $pkgList | Select-String -NotMatch "github.com/docker/docker/integration-cli"
+    $pkgList = $pkgList | Select-String -NotMatch "github.com/docker/docker/integration"
     $pkgList = $pkgList -replace "`r`n", " "
     $goTestCommand = "go test" + $raceParm + " -cover -ldflags -w -tags """ + "autogen daemon" + """ -a """ + "-test.timeout=10m" + """ $pkgList"
     Invoke-Expression $goTestCommand

+ 1 - 1
hack/make/.integration-test-helpers

@@ -26,7 +26,7 @@ run_test_integration() {
 
 	(
 		flags="-check.v -check.timeout=${TIMEOUT} -test.timeout=360m $TESTFLAGS"
-		cd integration-cli > /dev/null
+		cd integration-cli
 		echo "Running $PWD"
 		test_env ./test.main $flags
 	)

+ 1 - 1
hack/test/unit

@@ -16,7 +16,7 @@ TESTFLAGS+=" -test.timeout=${TIMEOUT:-5m}"
 BUILDFLAGS=( -tags "netgo seccomp libdm_no_deferred_remove" )
 TESTDIRS="${TESTDIRS:-"./..."}"
 
-exclude_paths="/vendor/|/integration-cli"
+exclude_paths="/vendor/|/integration"
 if [ "$(go env GOHOSTOS)" = 'solaris' ]; then
 	exclude_paths="$exclude_paths|/daemon/graphdriver"
 fi