Skip to content

Commit

Permalink
test both over and under mem
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart committed Feb 27, 2025
1 parent 264bb4b commit d46dcc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codebuild/spec/buildspec_mem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ phases:
# Test for unexpected memory to confirm failure possible
# Use an unrealistically high number
- cmake --build build -j $(nproc) --target $S2N_TEST_NAME
- echo ">>>> NEGATIVE TEST - EXPECTED TO FAIL <<<<"
- echo ">>>> NEGATIVE TESTS - EXPECTED TO FAIL <<<<"
- |
! S2N_EXPECTED_CONNECTION_MEMORY_KB=3 make -C build test -- ARGS="-R $S2N_TEST_NAME"
! S2N_EXPECTED_CONNECTION_MEMORY_KB=500 make -C build test -- ARGS="-R $S2N_TEST_NAME"

0 comments on commit d46dcc2

Please sign in to comment.