mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-28080] scripts/test: do not remove existing data directory (#15347)
* scripts/test: do not remove existing data directory * Update scripts/test.sh Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
This commit is contained in:
committed by
GitHub
parent
90ef61f74c
commit
eaabf96b1b
@@ -14,7 +14,7 @@ PACKAGES_COMMA=$(echo $PACKAGES | tr ' ' ',')
|
||||
|
||||
echo "Packages to test: $PACKAGES"
|
||||
find . -name 'cprofile*.out' -exec sh -c 'rm "{}"' \;
|
||||
find . -type d -name data -not -path './vendor/*' | xargs rm -rf
|
||||
find . -type d -name data -not -path './vendor/*' -not -path './data' | xargs rm -rf
|
||||
|
||||
$GO test $GOFLAGS -run=$TESTS $TESTFLAGS -v -timeout=2000s -covermode=count -coverpkg=$PACKAGES_COMMA -exec $DIR/test-xprog.sh $PACKAGES 2>&1 > >( tee output )
|
||||
EXIT_STATUS=$?
|
||||
|
||||
Reference in New Issue
Block a user