Skip to content

Commit

Permalink
Merge pull request #201 from mwarusz/omega/fix-veclen-test
Browse files Browse the repository at this point in the history
Fix MachEnv vector length test
  • Loading branch information
philipwjones authored Feb 13, 2025
2 parents b193d4e + 67f888f commit d31747f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/omega/test/base/MachEnvTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,13 +488,11 @@ int main(int argc, char *argv[]) {
// Test setting of compile-time vector length

#ifdef OMEGA_VECTOR_LENGTH
if (OMEGA::VecLength == 16)
if (OMEGA::VecLength == OMEGA_VECTOR_LENGTH)
std::cout << "MPI vector length test: PASS" << std::endl;
else {
RetVal += 1;
std::cout << "MPI vector length test: FAIL" << std::endl;
std::cout << "Was test driver built with -D OMEGA_VECTOR_LENGTH=16 ?"
<< std::endl;
}
#endif

Expand Down

0 comments on commit d31747f

Please sign in to comment.