Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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