Add parenthesis to if clause
Change-Id: I53c92990f01f4029b637f131599e4134adf6224d
diff --git a/tools/test.py b/tools/test.py
index 031a016..257e88c 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -177,7 +177,7 @@
if not os.path.exists(options.use_golden_files_in):
os.makedirs(options.use_golden_files_in)
gradle_args.append('-PHEAD_sha1=' + utils.get_HEAD_sha1())
- if not options.no_r8lib and options.r8lib_no_deps:
+ if (not options.no_r8lib) and options.r8lib_no_deps:
print('Cannot run tests on r8lib with and without deps. R8lib is now default target.')
exit(1)
if not options.no_r8lib: