blob: c7ca55a571b824cb5d707aed24602bbc5b9c0a40 [file] [log] [blame]
# Copyright 2017 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Dummy d8 replacement. Just passes all test, except if 'berries' is in args.
"""
import sys
args = ' '.join(sys.argv[1:])
print args
# Let all berries fail.
if 'berries' in args:
sys.exit(1)
sys.exit(0)