Re-revert "Refactor debuginfo-tests"
authorZachary Turner <zturner@google.com>
Fri, 17 Nov 2017 00:41:18 +0000 (00:41 +0000)
committerZachary Turner <zturner@google.com>
Fri, 17 Nov 2017 00:41:18 +0000 (00:41 +0000)
commitb5c237ec3d5f708e7118913923f3d50359dff40a
treeb438760cb6dcd11f4a68498b270b55af373a95b4
parent2f2ace985de421f9a4ff793ae2520ae91ecd4f0a
Re-revert "Refactor debuginfo-tests"

This is still broken because it causes certain tests to be
run twice with slightly different configurations, which is
wrong in some cases.

You can observe this by running:

  ninja -nv check-all | grep debuginfo-tests

And seeing that it passes clang/test and clang/test/debuginfo-tests
to lit, which causes it to run debuginfo-tests twice.  The fix is
going to involve either:

  a) figuring out that we're running in this "deprecated" configuration,
     and then deleting the clang/test/debuginfo-tests path, which should
     cause it to behave identically to before, or:
  b) make lit smart enough that it doesn't descend into a sub-suite if
     that sub-suite already has a lit.cfg file.

llvm-svn: 318486
28 files changed:
clang/test/CMakeLists.txt
clang/test/lit.cfg.py
debuginfo-tests/CMakeLists.txt [deleted file]
debuginfo-tests/aggregate-indirect-arg.cpp [moved from debuginfo-tests/tests/aggregate-indirect-arg.cpp with 93% similarity]
debuginfo-tests/asan-blocks.c [moved from debuginfo-tests/tests/asan-blocks.c with 100% similarity]
debuginfo-tests/asan.c [moved from debuginfo-tests/tests/asan.c with 100% similarity]
debuginfo-tests/block_var.m [moved from debuginfo-tests/tests/block_var.m with 93% similarity]
debuginfo-tests/blocks.m [moved from debuginfo-tests/tests/blocks.m with 85% similarity]
debuginfo-tests/ctor.cpp [moved from debuginfo-tests/tests/ctor.cpp with 78% similarity]
debuginfo-tests/dbg-arg.c [moved from debuginfo-tests/tests/dbg-arg.c with 100% similarity]
debuginfo-tests/foreach.m [moved from debuginfo-tests/tests/foreach.m with 94% similarity]
debuginfo-tests/forward-declare-class.cpp [moved from debuginfo-tests/tests/forward-declare-class.cpp with 100% similarity]
debuginfo-tests/lit.cfg.py [deleted file]
debuginfo-tests/lit.local.cfg [moved from debuginfo-tests/tests/lit.local.cfg with 100% similarity]
debuginfo-tests/lit.site.cfg.py.in [deleted file]
debuginfo-tests/llgdb.py [moved from debuginfo-tests/tests/llgdb.py with 100% similarity]
debuginfo-tests/nested-struct.cpp [moved from debuginfo-tests/tests/nested-struct.cpp with 100% similarity]
debuginfo-tests/nrvo-string.cpp [moved from debuginfo-tests/tests/nrvo-string.cpp with 100% similarity]
debuginfo-tests/safestack.c [moved from debuginfo-tests/tests/safestack.c with 100% similarity]
debuginfo-tests/sret.cpp [moved from debuginfo-tests/tests/sret.cpp with 93% similarity]
debuginfo-tests/stack-var.c [moved from debuginfo-tests/tests/stack-var.c with 100% similarity]
debuginfo-tests/static-member-2.cpp [moved from debuginfo-tests/tests/static-member-2.cpp with 100% similarity]
debuginfo-tests/static-member.cpp [moved from debuginfo-tests/tests/static-member.cpp with 100% similarity]
debuginfo-tests/vla.c [moved from debuginfo-tests/tests/vla.c with 93% similarity]
llvm/CMakeLists.txt
llvm/projects/CMakeLists.txt
llvm/utils/lit/lit/llvm/config.py
llvm/utils/test_debuginfo.pl