Skip to content

Commit

Permalink
Excluding system tests from being installed.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Jan 9, 2016
1 parent 0c74a59 commit 65c0ef8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include README.rst
graft gcloud
global-exclude *.pyc
recursive-exclude system_tests *
10 changes: 5 additions & 5 deletions scripts/attempt_system_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,15 @@
import subprocess
import sys

from system_tests.run_system_test import run_module_tests


MODULES = (
'datastore',
'storage',
'pubsub',
'bigquery',
)
SCRIPTS_DIR = os.path.dirname(__file__)
ENCRYPTED_KEYFILE = os.path.abspath(
os.path.join(SCRIPTS_DIR, '..', 'system_tests', 'key.json.enc'))
ROOT_DIR = os.path.abspath(os.path.join(SCRIPTS_DIR, '..'))
ENCRYPTED_KEYFILE = os.path.join(ROOT_DIR, 'system_tests', 'key.json.enc')


def check_environment():
Expand Down Expand Up @@ -105,6 +102,9 @@ def prepare_to_run():
def main():
"""Run all the system tests if necessary."""
prepare_to_run()

sys.path.append(ROOT_DIR)
from system_tests.run_system_test import run_module_tests
for module in MODULES:
run_module_tests(module)

Expand Down

0 comments on commit 65c0ef8

Please sign in to comment.