mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Run tests one-at-a-time on Travis
Hopefully this will reduce the flakiness we're seeing on the bot.
This commit is contained in:
parent
5d1765701c
commit
125509931f
@ -23,7 +23,7 @@ def main():
|
||||
parser.add_argument('--config', default='Debug')
|
||||
parser.add_argument('--debug', dest='config', action='store_const', const='Debug')
|
||||
parser.add_argument('--release', dest='config', action='store_const', const='Release')
|
||||
args = parser.parse_args()
|
||||
args, remaining = parser.parse_known_args()
|
||||
|
||||
build_dir = os.path.join(SRC_ROOT, 'out', args.config)
|
||||
|
||||
@ -38,7 +38,7 @@ def main():
|
||||
env['SKY_SHELL'] = sky_shell
|
||||
return subprocess.call([
|
||||
PUB, 'run', 'sky_tools:sky_test',
|
||||
], cwd=UNIT_DIR, env=env)
|
||||
] + remaining, cwd=UNIT_DIR, env=env)
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
||||
|
||||
@ -4,4 +4,4 @@ set -ex
|
||||
./sky/tools/gn --release
|
||||
ninja -j 4 -C out/Release
|
||||
./sky/tools/skyanalyzer --congratulate examples/stocks/lib/main.dart
|
||||
./sky/tools/run_tests --release
|
||||
./sky/tools/run_tests --release -j 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user