Skip to content

Commit

Permalink
Pull out integration tests, and deps to own script
Browse files Browse the repository at this point in the history
  • Loading branch information
bramwelt committed Aug 15, 2014
1 parent 2f7aaf4 commit e97f785
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
11 changes: 1 addition & 10 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,7 @@ source scripts/bootstrap.sh
# run unit tests
source scripts/test.sh

# pull pre-built, known version of breakpad
wget --quiet 'https://ci.mozilla.org/job/breakpad/lastSuccessfulBuild/artifact/breakpad.tar.gz'
tar -zxf breakpad.tar.gz
mv breakpad stackwalk
make stackwalker

# run socorro integration test
echo "Running integration test..."
./scripts/rabbitmq-integration-test.sh --destroy
./scripts/elasticsearch-integration-test.sh
source scripts/integration-test.sh

# package socorro.tar.gz for distribution
mkdir builds/
Expand Down
12 changes: 12 additions & 0 deletions scripts/integration-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#! /bin/bash -e

# pull pre-built, known version of breakpad
wget --quiet 'https://ci.mozilla.org/job/breakpad/lastSuccessfulBuild/artifact/breakpad.tar.gz'
tar -zxf breakpad.tar.gz
mv breakpad stackwalk
make stackwalker

# run socorro integration test
echo "Running integration test..."
./scripts/rabbitmq-integration-test.sh --destroy
./scripts/elasticsearch-integration-test.sh

0 comments on commit e97f785

Please sign in to comment.