diff --git a/test/Driver/Dependencies/Inputs/fail.py b/test/Driver/Dependencies/Inputs/fail.py index 95c72f8c19a10..9f14a97404f7a 100755 --- a/test/Driver/Dependencies/Inputs/fail.py +++ b/test/Driver/Dependencies/Inputs/fail.py @@ -1,3 +1,12 @@ #!/usr/bin/env python +# fail.py - Just exits with an error code -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 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 exit(1) diff --git a/test/Driver/Dependencies/Inputs/fake-build-for-bitcode.py b/test/Driver/Dependencies/Inputs/fake-build-for-bitcode.py index 58072fa75a932..fa734eb9222e7 100755 --- a/test/Driver/Dependencies/Inputs/fake-build-for-bitcode.py +++ b/test/Driver/Dependencies/Inputs/fake-build-for-bitcode.py @@ -1,7 +1,20 @@ #!/usr/bin/env python - +# fake-build-for-bitcode.py - Fake build with -embed-bitcode -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 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 +# +# ---------------------------------------------------------------------------- +# # Emulates the frontend of an -embed-bitcode job. That means we have to handle # -emit-bc and -c actions. +# +# ---------------------------------------------------------------------------- from __future__ import print_function diff --git a/test/Driver/Dependencies/Inputs/fake-build-whole-module.py b/test/Driver/Dependencies/Inputs/fake-build-whole-module.py index 22b938888c40c..2a8735d4637bd 100755 --- a/test/Driver/Dependencies/Inputs/fake-build-whole-module.py +++ b/test/Driver/Dependencies/Inputs/fake-build-whole-module.py @@ -1,6 +1,19 @@ #!/usr/bin/env python - +# fake-build-for-whole-module.py - Optimized fake build -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 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 +# +# ---------------------------------------------------------------------------- +# # Emulates the frontend of a -whole-module-optimization compilation. +# +# ---------------------------------------------------------------------------- from __future__ import print_function diff --git a/test/Driver/Dependencies/Inputs/modify-non-primary-files.py b/test/Driver/Dependencies/Inputs/modify-non-primary-files.py index 4866a8d26401c..dda4d54ac1cb4 100755 --- a/test/Driver/Dependencies/Inputs/modify-non-primary-files.py +++ b/test/Driver/Dependencies/Inputs/modify-non-primary-files.py @@ -1,7 +1,20 @@ #!/usr/bin/env python - +# modify-non-primary-files.py - Fake build while modifying files -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 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 +# +# ---------------------------------------------------------------------------- +# # modify-non-primary-files.py simulates a build where the user is modifying the # source files during compilation. +# +# ---------------------------------------------------------------------------- from __future__ import print_function diff --git a/test/Driver/Dependencies/Inputs/touch.py b/test/Driver/Dependencies/Inputs/touch.py index cf750c3402073..7ef4791de45be 100755 --- a/test/Driver/Dependencies/Inputs/touch.py +++ b/test/Driver/Dependencies/Inputs/touch.py @@ -1,6 +1,19 @@ #!/usr/bin/env python - +# touch.py - /bin/touch that writes the LLVM epoch -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 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 +# +# ---------------------------------------------------------------------------- +# # Like /bin/touch, but takes a time using the LLVM epoch. +# +# ---------------------------------------------------------------------------- import os import sys diff --git a/test/Driver/Dependencies/Inputs/update-dependencies-bad.py b/test/Driver/Dependencies/Inputs/update-dependencies-bad.py index b427b50ab8099..07a9dfae10a02 100755 --- a/test/Driver/Dependencies/Inputs/update-dependencies-bad.py +++ b/test/Driver/Dependencies/Inputs/update-dependencies-bad.py @@ -1,7 +1,20 @@ #!/usr/bin/env python - +# update-dependencies-bad.py - Fails on bad.swift -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 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 +# +# ---------------------------------------------------------------------------- +# # Fails if the input file is named "bad.swift"; otherwise dispatches to # update-dependencies.py. +# +# ---------------------------------------------------------------------------- from __future__ import print_function diff --git a/test/Driver/Dependencies/Inputs/update-dependencies.py b/test/Driver/Dependencies/Inputs/update-dependencies.py index 0ab62eefe3e09..b6145cc4da193 100755 --- a/test/Driver/Dependencies/Inputs/update-dependencies.py +++ b/test/Driver/Dependencies/Inputs/update-dependencies.py @@ -1,7 +1,18 @@ #!/usr/bin/env python - -# update-dependencies.py simulates a Swift compilation for the purposes of -# dependency analysis. That means it has two tasks: +# update-dependencies.py - Fake build for dependency analysis -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 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 +# +# ---------------------------------------------------------------------------- +# +# Simulates a Swift compilation for the purposes of dependency analysis. +# That means this has two tasks: # # 1. Update the main output of the compilation job. # 2. Update the associated dependencies file, in case anything changed. @@ -13,6 +24,8 @@ # the old dependencies (if present). # # If invoked in non-primary-file mode, it only creates the output file. +# +# ---------------------------------------------------------------------------- from __future__ import print_function