Skip to content

Commit

Permalink
made android unit tests not require the host engine variant to exist (f…
Browse files Browse the repository at this point in the history
  • Loading branch information
gaaclarke authored Sep 29, 2021
1 parent 866db62 commit e6e0237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def main():
help='A single Java test class to run.')
parser.add_argument('--android-variant', dest='android_variant', action='store',
default='android_debug_unopt',
help='The engine build variant to run java tests for')
help='The engine build variant to run java or android tests for')
parser.add_argument('--ios-variant', dest='ios_variant', action='store',
default='ios_debug_sim_unopt',
help='The engine build variant to run objective-c tests for')
Expand All @@ -561,7 +561,7 @@ def main():
types = args.type.split(',')

build_dir = os.path.join(out_dir, args.variant)
if args.type != 'java':
if args.type != 'java' and args.type != 'android':
assert os.path.exists(build_dir), 'Build variant directory %s does not exist!' % build_dir

if args.sanitizer_suppressions:
Expand Down

0 comments on commit e6e0237

Please sign in to comment.