diff options
author | Christopher Speller <crspeller@gmail.com> | 2018-04-03 12:41:02 -0700 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2018-04-03 15:41:02 -0400 |
commit | 80925f7cfd2fe4fe98418119c70e5e36c738f41a (patch) | |
tree | d6dffe4ee56051840bc4b6eb4ca15349c1d26329 /Makefile | |
parent | 1476ca5b2d2430858f5cfe8206815ec659393609 (diff) | |
download | chat-80925f7cfd2fe4fe98418119c70e5e36c738f41a.tar.gz chat-80925f7cfd2fe4fe98418119c70e5e36c738f41a.tar.bz2 chat-80925f7cfd2fe4fe98418119c70e5e36c738f41a.zip |
Fixing unit tests for Go 1.10 (#8568)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -336,6 +336,7 @@ ifeq ($(BUILD_ENTERPRISE_READY),true) endif test-server-race: test-te-race test-ee-race ## Checks for race conditions. + find . -type d -name data -not -path './vendor/*' | xargs rm -rf do-cover-file: ## Creates the test coverage report file. @echo "mode: count" > cover.out @@ -360,6 +361,7 @@ ifeq ($(BUILD_ENTERPRISE_READY),true) endif test-server: test-te test-ee ## Runs tests. + find . -type d -name data -not -path './vendor/*' | xargs rm -rf internal-test-web-client: ## Runs web client tests. $(GO) run $(GOFLAGS) $(PLATFORM_FILES) test web_client_tests @@ -477,7 +479,7 @@ clean: stop-docker ## Clean up everything except persistant server data. cd $(BUILD_WEBAPP_DIR) && $(MAKE) clean - find . -type d -name data -not -path './vendor/*' | xargs rm -r + find . -type d -name data -not -path './vendor/*' | xargs rm -rf rm -rf logs rm -f mattermost.log |