353 Commits

Author SHA1 Message Date
CristinaCristescu
95e3dcf8ef Check for invalid pointer address access. 2015-12-15 20:24:16 +01:00
CristinaCristescu
982a3ae38b Enable the NullDeref Cling test for MethodCalls. 2015-12-15 20:24:16 +01:00
Philippe Canal
4ba468335e Adapt output to tweaked behavior 2015-09-29 19:18:04 +02:00
Axel Naumann
dec5717d4c Fix printing of false! (And add a test.) 2015-08-21 12:23:04 +02:00
Boris Perovic
f268b40976 Dtors.c cling test changed in order to avoid infinite loop when unloading "RuntimePrintValue.h". Should be looked into in the future. 2015-08-20 17:06:02 +02:00
Boris Perovic
800c644352 Removed "VALID" after address output, fixes roottest. Various fixes based on comments after second round. 2015-08-18 18:08:20 +02:00
Boris Perovic
2d317b983d Fixes based on cling test suite ("make test"). 2015-08-18 18:08:20 +02:00
Boris Perovic
c44940b223 New printValue() integration (printing unified through overloading of printValue() function and template resolution). Modified tests to conform to the new prints. 2015-08-17 18:45:03 +02:00
Axel Naumann
4b08f20793 Fix runtime / PCH incompatibility. 2015-06-26 14:44:19 +02:00
Elisavet Sakellari
bfa9947c5a Implement search path cling pragma / ROOT macros (ROOT-7269). 2015-06-04 16:40:08 +02:00
Axel Naumann
5cfdd233c2 Test for ROOT-7295. 2015-06-04 11:30:15 +02:00
Liza
99de1fe5c0 ROOT-7031 bug fix for illegal macros. 2015-05-21 20:24:10 +02:00
Axel Naumann
1508b73c7c Add test for ROOT-7310. 2015-05-13 12:12:00 +02:00
Axel Naumann
31a9d9d0b2 Make test more telling. 2015-04-04 20:51:20 +02:00
Axel Naumann
2b0371b779 Adapt expectation to reality. 2015-04-03 21:58:12 +02:00
Axel Naumann
104540e8af Test for ROOT-7163. 2015-04-01 12:09:20 +02:00
Axel Naumann
97b8a20df8 Also copy include/llvm-c headers; cling-test needs them. 2015-04-01 12:09:15 +02:00
Liza Sakellari
529b0aed53 Fixed parsing of '\'' at the prompt (ROOT-7159). 2015-03-31 16:47:10 +02:00
Liza Sakellari
4de2d7d77c Fixed Parser error when calling a macro with arguments. 2015-03-31 16:47:09 +02:00
Liza Sakellari
19ce2d03b6 Fixed bug "Parser error when calling a macro with arguments". 2015-03-31 16:47:09 +02:00
Pere Mato
d38891b490 Use the make variable TESTDIRS to select the test directories for cling-test 2015-03-30 22:53:10 +02:00
Pere Mato
20e2f24106 Fix for ROOT-7184 - CMake config issue when enabling cling tests 2015-03-13 18:31:50 +01:00
Axel Naumann
18d0c4e740 Test for ROOT-7113: pragma once on prompt. 2015-02-27 11:05:19 +01:00
Axel Naumann
ea39f4e821 Fatal line mess - extract decl out of #if. 2015-02-25 21:28:10 +01:00
Axel Naumann
9bef38e844 Test inline asm at least on linux. 2015-02-25 20:37:12 +01:00
Axel Naumann
18437175a8 Add test for ROOT-6531. 2015-02-22 00:09:36 +01:00
Axel Naumann
e582b93a16 No #include <new> in C mode; add basic C mode test (ROOT-7090). 2015-02-21 22:43:36 +01:00
Axel Naumann
69234ce153 Fix nullptr value printing (ROOT-7092). 2015-02-21 22:27:26 +01:00
Axel Naumann
c1cf9236c0 Also test error recovery from non-existing file. 2015-02-18 14:51:21 +01:00
Axel Naumann
1ffc20a6b2 Add a cling pragma handler. For now implement #pragma cling load(file)
Extremely handy for sources that require certain libraries to be loaded;
it's similar to MSVC's #pragma comment(lib"libToLink").
2015-02-18 14:51:21 +01:00
Axel Naumann
d9a804df73 OrcJIT emits only call dependencies. 2015-02-11 10:57:47 +01:00
Axel Naumann
ae0290a4fb Follow change in warning; add new warning. 2015-02-11 10:57:46 +01:00
Axel Naumann
020f962990 Follow interface change (unique_ptr). 2015-02-11 10:57:44 +01:00
Axel Naumann
2deb711ce1 Make test more readable. 2015-02-11 10:57:41 +01:00
Axel Naumann
9c383fcef3 clang is built without rtti; no chance to find its typeinfo. 2015-02-11 10:57:39 +01:00
Axel Naumann
e4da5f2858 Error now comes during reloc (static init). 2015-02-11 10:57:39 +01:00
Axel Naumann
1e8f686cf2 Update location of "missing symbol" error:
The resolution now happens during relocation, not just at the call.
A failure thereof causes the transaction to be reverted which makes
bar() undeclared.
2015-02-11 10:57:38 +01:00
Axel Naumann
1497128ee7 Add test for ROOT-6650. 2014-12-16 11:06:04 +01:00
Axel Naumann
71fc16baf4 Give cling the LangOpts clang has. 2014-10-21 20:09:02 +02:00
Axel Naumann
9b30bafdbc Adapt to new Transform::Config::m_toSkip. 2014-10-16 11:26:07 +02:00
Vassil Vassilev
0764694c14 Do not try to fixup return statements in lambdas. 2014-10-08 17:42:04 +02:00
Vassil Vassilev
32d06e92f0 Add the expected string also. 2014-10-06 15:44:09 +02:00
Vassil Vassilev
5d672fe795 Improve " and ' balancing. Fixes ROOT-6791. 2014-10-06 15:44:09 +02:00
Axel Naumann
fd9f5defab Mention current failure rate of Sema unloading tests. 2014-10-02 16:20:03 +02:00
Axel Naumann
0a73f180e6 Determing cling location from script location. 2014-10-02 16:20:03 +02:00
Philippe Canal
2febce4e88 Revert remove trailing space for interpreter/cling/test/Prompt/MetaProcessor/Regression.C 2014-10-02 09:45:05 +02:00
Vassil Vassilev
a4d09be9e2 Move the pch input file in Inputs folder. 2014-10-01 14:24:12 +02:00
Vassil Vassilev
a8ccf3468c Add a test exposing an issue with the unloading of inlined functions coming from a pch/pcm. 2014-10-01 14:24:12 +02:00
Vassil Vassilev
f3e4d96ffc Remove the pch. It is generated by the test. 2014-10-01 14:24:11 +02:00
Vassil Vassilev
766030c1e0 Add test for unloading of vtables coming from a pch/pcm. 2014-09-30 17:34:12 +02:00