mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
//===--- main.swift -------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See http://swift.org/LICENSE.txt for license information
|
|
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// WARNING: This file is automatically generated from templates and should not
|
|
// be directly modified. Instead, make changes to
|
|
// scripts/generate_harness/main.swift_template and run
|
|
// scripts/generate_harness/generate_harness.py to regenerate this file.
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// This is just a driver for performance overview tests.
|
|
import TestsUtils
|
|
import DriverUtils
|
|
{% for import in imports %}
|
|
import {{ import }}
|
|
{% endfor %}
|
|
|
|
precommitTests = [
|
|
{% for run_func in run_funcs %}
|
|
"{{ run_func[0] }}": run_{{ run_func[1] }},
|
|
{% endfor %}
|
|
]
|
|
|
|
otherTests = [
|
|
"Ackermann": run_Ackermann,
|
|
"Fibonacci": run_Fibonacci,
|
|
]
|
|
|
|
|
|
main()
|
|
|