Skip to content

Commit 87d2b15

Browse files
committed
Ignore openmp for one loop
1 parent fc52a6e commit 87d2b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_xcpp_kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class XCppTests(jupyter_kernel_test.KernelTests):
131131
'mime': 'image/png'
132132
}
133133
]
134-
code_omp='#include <omp.h>\n#include <iostream>\n#include <clang/Interpreter/CppInterOp.h>\n\nCpp::LoadLibrary("libomp");'
134+
code_omp='#include <omp.h>\n#include <iostream>\n#include <clang/Interpreter/CppInterOp.h>\n\nCpp::LoadLibrary("libomp");std::cerr<<"2"<<std::endl;'
135135
def test_xcpp_omp(self):
136136
self.flush_channels()
137137
reply, output_msgs = self.execute_helper(code=self.code_omp,timeout=1)

0 commit comments

Comments
 (0)