xref: /aosp_15_r20/external/toolchain-utils/binary_search_tool/test/test_setup.py (revision 760c253c1ed00ce9abd48f8546f08516e57485fe)
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3# Copyright 2020 The ChromiumOS Authors
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
7"""Emulate running of test setup script, is_good.py should fail without this."""
8
9
10import sys
11
12
13def Main():
14    # create ./is_setup
15    with open("./is_setup", "w", encoding="utf-8"):
16        pass
17
18    return 0
19
20
21if __name__ == "__main__":
22    retval = Main()
23    sys.exit(retval)
24