Skip to content

Commit

Permalink
Increase Unikraft QEMU memory to make remaining tests pass (#766)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti authored Feb 14, 2024
1 parent f01b8b2 commit be64906
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ jobs:
rm kraftkit_0.7.5_linux_amd64.deb
- run: cd unikraft && kraft build --target development --jobs 4 --log-type=basic
- run: cd unikraft && kraft run --target development --disable-acceleration unikraft
- run: cd unikraft && kraft run --target development --memory 200M --disable-acceleration unikraft
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ doxygen: .always

unikraft: .always
cd unikraft && $(KRAFT) build --target development --jobs 4 --log-type=basic
cd unikraft && $(KRAFT) run --target development
cd unikraft && $(KRAFT) run --memory 200M --target development

website: .always
$(CMAKE) --build ./build --config $(PRESET) --target website
Expand Down
3 changes: 1 addition & 2 deletions unikraft/Makefile.uk
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ SOURCEMETA_JSONBINPACK_TEST_SRCS-y += $(TEST_BASE)/runtime/decode_varint_test.cc
SOURCEMETA_JSONBINPACK_TEST_SRCS-y += $(TEST_BASE)/runtime/decode_zigzag_test.cc
SOURCEMETA_JSONBINPACK_TEST_SRCS-y += $(TEST_BASE)/runtime/encode_any_test.cc
SOURCEMETA_JSONBINPACK_TEST_SRCS-y += $(TEST_BASE)/runtime/encode_array_test.cc
# TODO: Re-enable these tests after fixing the std::bad_alloc errors
# SOURCEMETA_JSONBINPACK_TEST_SRCS-y += $(TEST_BASE)/runtime/encode_context_test.cc
SOURCEMETA_JSONBINPACK_TEST_SRCS-y += $(TEST_BASE)/runtime/encode_context_test.cc
SOURCEMETA_JSONBINPACK_TEST_SRCS-y += $(TEST_BASE)/runtime/encode_enum_test.cc
SOURCEMETA_JSONBINPACK_TEST_SRCS-y += $(TEST_BASE)/runtime/encode_integer_test.cc
SOURCEMETA_JSONBINPACK_TEST_SRCS-y += $(TEST_BASE)/runtime/encode_number_test.cc
Expand Down

0 comments on commit be64906

Please sign in to comment.