Skip to content

Commit

Permalink
[tests] Fix ContainerTest check error in arm architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
Lester-1 committed Dec 25, 2023
1 parent c054598 commit 79ddbcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Interface/core/ContainerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ int main() {
// Test custom shape no malloc constructor.
//===--------------------------------------------------------------------===//
MemRef<float, 2> testCustomShapeNoMallocConstructor(sizes, false, 0);
// CHECK: (nil)
// CHECK: {{(nil)|0x0}}
fprintf(stderr, "%p\n", testCustomShapeNoMallocConstructor.getData());

//===--------------------------------------------------------------------===//
// Test array no malloc constructor.
//===--------------------------------------------------------------------===//
std::vector<size_t> arrayShape = {1, 80, 32000};
MemRef<float, 3> testArrayNoMallocConstructor(arrayShape, false, 0);
// CHECK: (nil)
// CHECK: {{(nil)|0x0}}
fprintf(stderr, "%p\n", testArrayNoMallocConstructor.getData());

//===--------------------------------------------------------------------===//
Expand Down

0 comments on commit 79ddbcd

Please sign in to comment.