File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ add_test(
3131 NAME runUnitTest_cc
3232 COMMAND runUnitTests_cc
3333 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )
34+ set_tests_properties (runUnitTest_cc PROPERTIES ENVIRONMENT
35+ "TF_DISABLE_MLIR_BRIDGE=1" )
3436set_target_properties (runUnitTests_cc PROPERTIES INSTALL_RPATH "$ORIGIN/../lib" )
3537target_compile_definitions (runUnitTests_cc PUBLIC ${prec_def} )
3638install (TARGETS runUnitTests_cc DESTINATION bin/)
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ class TestInferDeepSpinDpaPt : public ::testing::Test {
113113 EXPECT_EQ (natoms * 3 , expected_f.size ());
114114 EXPECT_EQ (natoms * 3 , expected_fm.size ());
115115 EXPECT_EQ (9 , expected_tot_v.size ());
116+ EXPECT_EQ (natoms * 9 , expected_atom_v.size ());
116117 expected_tot_e = 0 .;
117118 for (int ii = 0 ; ii < natoms; ++ii) {
118119 expected_tot_e += expected_e[ii];
You can’t perform that action at this time.
0 commit comments