Get rid of extra-complex built_cling:
that is anyway what we want to test, always. And nothing seems to set the env var.
This commit is contained in:
parent
ffc267b9dd
commit
b118f4dee3
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -fno-rtti -Xclang -verify 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti -Xclang -verify 2>&1 | FileCheck %s
|
||||
|
||||
// Test that user can override the DiagnosicsClient without error
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -I%p | FileCheck %s
|
||||
// RUN: cat %s | %cling -I%p | FileCheck %s
|
||||
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
#include "cling/Interpreter/InterpreterCallbacks.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -I%p | FileCheck %s
|
||||
// RUN: cat %s | %cling -I%p | FileCheck %s
|
||||
|
||||
// The tests shows the basic control flow structures that contain dynamic
|
||||
// expressions. There are several cases that could be distinguished.
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -I%p | FileCheck %s
|
||||
// RUN: cat %s | %cling -I%p | FileCheck %s
|
||||
// We should revise the destruction of the LifetimeHandlers, because
|
||||
// its destructor uses gCling and the CompilerInstance, which are
|
||||
// already gone
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -I%p | FileCheck %s
|
||||
// RUN: cat %s | %cling -I%p | FileCheck %s
|
||||
|
||||
// This test tests the hook that cling expects in clang and enables it
|
||||
// at compile time. However that is not actual dynamic lookup because
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -I%p | FileCheck %s
|
||||
// RUN: cat %s | %cling -I%p | FileCheck %s
|
||||
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
#include "cling/Interpreter/InterpreterCallbacks.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -I%p 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -I%p 2>&1 | FileCheck %s
|
||||
|
||||
// Test failures of dynamic lookups.
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: clang -shared -DCLING_EXPORT=%dllexport %S/address_lib.c -olibaddress_lib%shlibext
|
||||
// RUN: cat %s | %built_cling -L. -fno-rtti | FileCheck %s
|
||||
// RUN: cat %s | %cling -L. -fno-rtti | FileCheck %s
|
||||
extern "C" int printf(const char*,...);
|
||||
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -Xclang -verify 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -Xclang -verify 2>&1 | FileCheck %s
|
||||
// Make sure we are correctly parsing the arguments for CIFactory::createCI
|
||||
|
||||
#include "cling/Interpreter/InvocationOptions.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -fno-rtti | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti | FileCheck %s
|
||||
|
||||
// This test makes sure the interpreter doesn't create many useless empty
|
||||
// transactions.
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test findArgList
|
||||
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test lookupData
|
||||
|
||||
.rawInput 1
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test lookupFunctionArgs()
|
||||
.rawInput
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test Lookup::Named and Namespace, used in quick simple lookups.
|
||||
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test findScope, which is essentially is a DeclContext.
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
#include "cling/Interpreter/LookupHelper.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test Lookup::Named and Namespace, used in quick simple lookups.
|
||||
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test findClassTemplate, which is esentially is a DeclContext.
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
#include "cling/Interpreter/LookupHelper.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test Interpreter::lookupType()
|
||||
//
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %built_cling -fno-rtti | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti | FileCheck %s
|
||||
|
||||
// The test verifies the expected behavior in cling::utils::Transform class,
|
||||
// which is supposed to provide different transformation of AST nodes and types.
|
||||
|
@ -87,7 +87,6 @@ config.substitutions = [x for x in config.substitutions if x[0] != ' clang ']
|
||||
config.substitutions.append(('%cling_obj_root', config.cling_obj_root))
|
||||
incDir = os.path.join(config.llvm_obj_root, 'tools', 'clang', 'include')
|
||||
config.substitutions.append( ('%cling', config.llvm_tools_dir + '/cling --nologo -I%s' % fixupPath(incDir)) )
|
||||
config.substitutions.append( ('%built_cling', config.llvm_tools_dir + '/cling --nologo -I%s' % fixupPath(incDir)) )
|
||||
|
||||
if platform.system() in ['Windows']:
|
||||
config.substitutions.append(('%dllexport', '"__declspec(dllexport)"'))
|
||||
|
Loading…
Reference in New Issue
Block a user