Axel Naumann
febddd23bc
Update test to follow new output.
2018-04-17 13:59:31 +02:00
Frederich Munch
ffa8f951ce
Combine similar tests into one file.
2017-06-21 08:29:11 +02:00
Frederich Munch
981e2f61f3
Fix typo.
2017-06-14 11:29:05 +02:00
Roman Zulak
2806ec0f61
Warn if lambdas in global scope use copy capture.
...
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2017-06-12 18:14:31 +02:00
Vassil Vassilev
8f257e74d3
Create a virtual file entry for each input line.
...
This is the only way not to confuse the diagnostics engine of upgraded clang.
Also, this gives us a few advantages:
* We can compare more precisely the source locations of diagnostics;
* We can merge the code completion code path which works with file entries;
* We can rely better when specifying //expected-note-s in different files.
2017-06-08 10:29:13 +02:00
Frederich Munch
311a557be1
Windows: Interpret -nostdinc++ as -nostdinc which clang does not use on Windows backend. Fixes ABI and NoStdInc tests.
2017-02-17 15:14:06 +01:00
Frederich Munch
a91b83632e
Use std::find_if when searching m_StoredStates.
2017-02-07 16:59:09 +01:00
Frederich Munch
4dd1ce8e56
Fix for Interpreter hanging on to states that can refer to a deleted llvm::Module.
2017-02-07 16:59:09 +01:00
Frederich Munch
efd446871c
Fix LLVM API misuse when trying to replace and keep a DiagnosticConsumer.
2017-02-02 11:44:05 +01:00
Frederich Munch
bf3c8052d8
Windows: Fix various test failures.
2016-12-12 12:44:09 +01:00
Roman Zulak
1dadbe2495
Refactor CheckABICompatibility into a more legible version. Standardize error message. Return whether the ABI matched or not.
...
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-10-18 17:53:21 +02:00
Frederich Munch
be7769aa5d
Remove .rawInput from a variety of tests to test unwrapped function input.
2016-09-05 12:44:13 +02:00
Axel Naumann
5cfdd233c2
Test for ROOT-7295.
2015-06-04 11:30:15 +02:00
Axel Naumann
e4da5f2858
Error now comes during reloc (static init).
2015-02-11 10:57:39 +01:00
Vassil Vassilev
8a8651a8d0
Implement diagnostic report in missing .x function to call.
2014-08-14 14:56:40 +02:00
Philippe Canal
576ca3ca96
Remove trailing spaces
2014-08-13 16:08:36 +02:00
Vassil Vassilev
de2d2ee714
Adapt tests for the newly produced diagnostics.
2014-06-10 15:24:01 +02:00
Vassil Vassilev
6d8b154f7f
Fix broken by constrution test.
2014-05-23 12:36:01 +02:00
Vassil Vassilev
234bfb7770
Simplify some of the changes due to the new diag mapping.
2014-04-01 17:09:58 +02:00
Vassil Vassilev
68221520fc
Silence a warning.
2014-03-31 14:03:09 +02:00
Vassil Vassilev
c6544c49f9
Update test.
2014-03-24 14:25:57 +01:00
Axel Naumann
dcf31e7e39
Skip this test; it is unreliable.
2014-01-23 11:33:54 +01:00
Axel Naumann
d240bd5de8
Refer to license in test and demo files.
2014-01-07 12:02:58 +01:00
Axel Naumann
44481ace1e
Fix license; remove $Id$ version.
2014-01-07 11:14:04 +01:00
Vassil Vassilev
3751cef9a9
Test canonical specialization removal.
2013-12-11 11:33:13 +01:00
Vassil Vassilev
e054a8126b
Test enum constant cleanup.
2013-12-06 12:03:34 +01:00
Vassil Vassilev
b41a282ae6
Add error recovery and unloading tests.
2013-12-06 12:03:33 +01:00
Vassil Vassilev
16b82159ea
Revert the unintentional change in test.
2013-11-25 13:56:03 +01:00
CristinaCristescu
4a8b33b878
ErrorRecovery test.
2013-11-25 13:56:01 +01:00
CristinaCristescu
0490caaa99
Macro recovery
2013-11-25 13:56:00 +01:00
Axel Naumann
4de45c1b85
Add include path.
2013-10-17 12:38:55 +02:00
Vassil Vassilev
694a0e4c3f
Update the CHECK-NOT clause.
2013-10-14 11:48:55 +02:00
Vassil Vassilev
eade01b61f
Check against the new message printed out if there were differences.
2013-10-14 09:11:39 +02:00
Vassil Vassilev
a1395d0401
Revert the right cached files even when there are macros involved.
...
Fix the semantic of the test.
2013-10-14 09:11:39 +02:00
Vassil Vassilev
a0df2fac1d
Add the -I so that Redeclarables.h can be found.
2013-10-14 09:11:39 +02:00
Vassil Vassilev
41b0539819
Don't forget to add FileCheck.
2013-10-14 09:11:39 +02:00
Vassil Vassilev
559b978279
Fix test semantics.
2013-10-14 09:11:39 +02:00
Vassil Vassilev
26eec6ab21
Now expected errors are printed out and filecheck cannot skip them. This is actually an improvement in newest llvm. In that case we don't need to run the test twice.
2013-10-14 09:11:38 +02:00
Vassil Vassilev
069a9d76c1
Remove unnecessary files that used to 'steer' the testsuite.
2013-09-27 14:33:05 +02:00
Vassil Vassilev
c512b9abf4
No need of cleanup in the testsuite - we use temporary uniquely named files.
2013-09-18 20:33:05 +02:00
Jerome Beclin
162101dd9d
Instrument the error recovery testsuite with .store- and .compare- State.
...
Add a special lit substitution giving us the executed test folder, so that
before next run we could cleanup.
2013-08-21 14:29:57 +02:00
Vassil Vassilev
99dfb99f35
Do not print the address of the temporary value of an enum constants.
...
For example, when we have enum e {e1=1}; and we do e1 on the prompt we got the
address of e1 and we printed it out. However, this doesn't make sence because we
cannot use it later, because it is destroyed.
git-svn-id: http://root.cern.ch/svn/root/trunk@48850 27541ba8-7e3a-0410-8455-c3a389f83636
2013-03-07 23:29:10 +00:00
Axel Naumann
c197c04fb6
DiagConsumer::Begin/EndSourceFile() are used to switch from "parsing command line flags" to "parsing source files" more; not to signal a new source file to the diag client.
...
Switch BeginSourceFile() on after having parsed Interpreter internals.
Switch it off (EndSourceFile()) in ~Interpreter.
Indentation.
Now that we handle diags appropriately, test/ErrorRecovery/MetaProcessor.C fails; repair it.
git-svn-id: http://root.cern.ch/svn/root/trunk@47476 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-20 13:21:00 +00:00
Axel Naumann
716729e5eb
Don't append "const" for rvalues for increased CINT compatibility.
...
Might re-introduce later.
git-svn-id: http://root.cern.ch/svn/root/trunk@47171 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-11 16:15:35 +00:00
Vassil Vassilev
e5b8645bda
Disable test for now.
...
Right now the issue is not that urgent. We will have to revisit and rethink the
test case.
git-svn-id: http://root.cern.ch/svn/root/trunk@46859 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-27 22:20:01 +00:00
Vassil Vassilev
2908e7f9e4
Do not issue error in case: .x MyFile() - where no string is between the parenthesis.
...
git-svn-id: http://root.cern.ch/svn/root/trunk@46851 27541ba8-7e3a-0410-8455-c3a389f83636
2012-10-27 19:57:29 +00:00
Axel Naumann
05ba8a3a07
Move cling from cint/ to interpreter/ (Will add a "we have moved" readme to cint/cling.)
...
git-svn-id: http://root.cern.ch/svn/root/trunk@45844 27541ba8-7e3a-0410-8455-c3a389f83636
2012-09-05 09:37:39 +00:00