Skip to content

Commit d3d2e21

Browse files
committed
C++: Accept test changes.
1 parent 141af7c commit d3d2e21

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

cpp/ql/test/library-tests/dataflow/taint-tests/taint.expected

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ WARNING: Module DataFlow has been deprecated and may be removed in future (taint
44
WARNING: Module DataFlow has been deprecated and may be removed in future (taint.ql:68,25-33)
55
WARNING: Module TaintTracking has been deprecated and may be removed in future (taint.ql:73,20-33)
66
testFailures
7+
| standalone_iterators.cpp:95:15:95:25 | // $ ast,ir | Missing result:ir= |
8+
| standalone_iterators.cpp:112:11:112:21 | // $ ast,ir | Missing result:ir= |
9+
| standalone_iterators.cpp:116:11:116:21 | // $ ast,ir | Missing result:ir= |
10+
| standalone_iterators.cpp:117:12:117:22 | // $ ast,ir | Missing result:ir= |
711
failures

cpp/ql/test/library-tests/dataflow/taint-tests/vector.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ void test_vector_output_iterator(int b) {
389389
*i9 = source();
390390
taint_vector_output_iterator(i9);
391391

392-
sink(v9); // $ ast=330:10 MISSING: ir SPURIOUS: ast=389:8
392+
sink(v9); // $ ast=330:10 ir SPURIOUS: ast=389:8
393393

394394
std::vector<int>::iterator i10 = v10.begin();
395395
vector_iterator_assign_wrapper(i10, 10);
@@ -440,14 +440,14 @@ void test_vector_inserter(char *source_string) {
440440
std::vector<std::string> out;
441441
auto it = std::back_inserter(out);
442442
*++it = std::string(source_string);
443-
sink(out); // $ ast MISSING: ir
443+
sink(out); // $ ast,ir
444444
}
445445

446446
{
447447
std::vector<int> out;
448448
auto it = std::back_inserter(out);
449449
*++it = source();
450-
sink(out); // $ ast MISSING: ir
450+
sink(out); // $ ast,ir
451451
}
452452
}
453453

0 commit comments

Comments
 (0)