Skip to content

Commit

Permalink
test: don't test load config if we are under wasm
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Terzolo <[email protected]>
  • Loading branch information
Andreagit97 committed Nov 21, 2023
1 parent 3a178cc commit 6bf1eab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unit_tests/falco/app/actions/test_load_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ limitations under the License.
#include "app_action_helpers.h"
#include "falco_test_var.h"


#ifndef __EMSCRIPTEN__
TEST(ActionLoadConfig, check_engine_config_is_correctly_parsed)
{
falco::app::state s = {};
Expand Down Expand Up @@ -195,3 +195,4 @@ TEST(ActionLoadConfig, check_override_command_line_gvisor)
EXPECT_EQ(s.config->m_cpus_for_each_syscall_buffer, 3);
EXPECT_TRUE(s.config->m_syscall_drop_failed_exit);
}
#endif

0 comments on commit 6bf1eab

Please sign in to comment.