This revision was automatically updated to reflect the committed changes. Closed by commit rL363298: [lit] Disable test on darwin when building shared libs. (authored by dhinton, committed by ).
Changed prior to commit: https://reviews.llvm.org/D61697?vs=198720&id=204602#toc Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61697/new/ https://reviews.llvm.org/D61697 Files: cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp llvm/trunk/utils/lit/lit/llvm/config.py Index: llvm/trunk/utils/lit/lit/llvm/config.py =================================================================== --- llvm/trunk/utils/lit/lit/llvm/config.py +++ llvm/trunk/utils/lit/lit/llvm/config.py @@ -48,6 +48,8 @@ # We should standardize on the former. features.add('system-linker-mach-o') features.add('system-darwin') + if config.enable_shared: + features.add("enable_shared") elif platform.system() == 'Windows': # For tests that require Windows to run. features.add('system-windows') Index: cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp =================================================================== --- cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp +++ cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp @@ -16,5 +16,7 @@ // // ^ -ccc-install-dir passed to unbreak tests on *BSD where // getMainExecutable() relies on real argv[0] being passed +// +// UNSUPPORTED: enable_shared #include <mock_vector> vector v;
Index: llvm/trunk/utils/lit/lit/llvm/config.py =================================================================== --- llvm/trunk/utils/lit/lit/llvm/config.py +++ llvm/trunk/utils/lit/lit/llvm/config.py @@ -48,6 +48,8 @@ # We should standardize on the former. features.add('system-linker-mach-o') features.add('system-darwin') + if config.enable_shared: + features.add("enable_shared") elif platform.system() == 'Windows': # For tests that require Windows to run. features.add('system-windows') Index: cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp =================================================================== --- cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp +++ cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp @@ -16,5 +16,7 @@ // // ^ -ccc-install-dir passed to unbreak tests on *BSD where // getMainExecutable() relies on real argv[0] being passed +// +// UNSUPPORTED: enable_shared #include <mock_vector> vector v;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits