From bbbbe93b4889ce0f3beb46d28d22bb943f5791a1 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Mon, 17 Oct 2016 18:04:05 +0000 Subject: [PATCH] Add a dummy file in each subdirectory in test/Driver/Inputs/hexagon_tree Git does not store empty subdirectories (while SVN does). Git clone of the clang repository did not create the fake Hexagon installation tree used for testing the driver. This only became evident after a change in the Hexagon toolchain that started checking for existence of certain directories. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284402 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/Inputs/hexagon_tree/Tools/bin/readme | 4 ++++ test/Driver/Inputs/hexagon_tree/Tools/readme | 4 ++++ .../hexagon_tree/Tools/target/hexagon/include/c++/readme | 4 ++++ .../Inputs/hexagon_tree/Tools/target/hexagon/include/readme | 4 ++++ test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/readme | 4 ++++ test/Driver/Inputs/hexagon_tree/Tools/target/readme | 4 ++++ 6 files changed, 24 insertions(+) create mode 100644 test/Driver/Inputs/hexagon_tree/Tools/bin/readme create mode 100644 test/Driver/Inputs/hexagon_tree/Tools/readme create mode 100644 test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/c++/readme create mode 100644 test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/readme create mode 100644 test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/readme create mode 100644 test/Driver/Inputs/hexagon_tree/Tools/target/readme diff --git a/test/Driver/Inputs/hexagon_tree/Tools/bin/readme b/test/Driver/Inputs/hexagon_tree/Tools/bin/readme new file mode 100644 index 0000000000..6e2cef0143 --- /dev/null +++ b/test/Driver/Inputs/hexagon_tree/Tools/bin/readme @@ -0,0 +1,4 @@ +Git does not record empty directories. Create a dummy file in each directory +here. Strictly speaking, putting dummy files in leaf directories should be +sufficient, but adding them everywhere reduces the risk of repeating the same +problem in case new directories are added. diff --git a/test/Driver/Inputs/hexagon_tree/Tools/readme b/test/Driver/Inputs/hexagon_tree/Tools/readme new file mode 100644 index 0000000000..6e2cef0143 --- /dev/null +++ b/test/Driver/Inputs/hexagon_tree/Tools/readme @@ -0,0 +1,4 @@ +Git does not record empty directories. Create a dummy file in each directory +here. Strictly speaking, putting dummy files in leaf directories should be +sufficient, but adding them everywhere reduces the risk of repeating the same +problem in case new directories are added. diff --git a/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/c++/readme b/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/c++/readme new file mode 100644 index 0000000000..6e2cef0143 --- /dev/null +++ b/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/c++/readme @@ -0,0 +1,4 @@ +Git does not record empty directories. Create a dummy file in each directory +here. Strictly speaking, putting dummy files in leaf directories should be +sufficient, but adding them everywhere reduces the risk of repeating the same +problem in case new directories are added. diff --git a/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/readme b/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/readme new file mode 100644 index 0000000000..6e2cef0143 --- /dev/null +++ b/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/readme @@ -0,0 +1,4 @@ +Git does not record empty directories. Create a dummy file in each directory +here. Strictly speaking, putting dummy files in leaf directories should be +sufficient, but adding them everywhere reduces the risk of repeating the same +problem in case new directories are added. diff --git a/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/readme b/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/readme new file mode 100644 index 0000000000..6e2cef0143 --- /dev/null +++ b/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/readme @@ -0,0 +1,4 @@ +Git does not record empty directories. Create a dummy file in each directory +here. Strictly speaking, putting dummy files in leaf directories should be +sufficient, but adding them everywhere reduces the risk of repeating the same +problem in case new directories are added. diff --git a/test/Driver/Inputs/hexagon_tree/Tools/target/readme b/test/Driver/Inputs/hexagon_tree/Tools/target/readme new file mode 100644 index 0000000000..6e2cef0143 --- /dev/null +++ b/test/Driver/Inputs/hexagon_tree/Tools/target/readme @@ -0,0 +1,4 @@ +Git does not record empty directories. Create a dummy file in each directory +here. Strictly speaking, putting dummy files in leaf directories should be +sufficient, but adding them everywhere reduces the risk of repeating the same +problem in case new directories are added. -- 2.40.0