From 80cc0177fb053912f8936521c2c4b992c098d383 Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Mon, 22 Nov 2021 12:59:43 +0900 Subject: [PATCH] test capiSwCanvas: remove a invalid test case. This test depends on the machine environment. it's not guaranteed the same result so we remove it. --- test/capi/capiSwCanvas.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/capi/capiSwCanvas.cpp b/test/capi/capiSwCanvas.cpp index 2a39eb1c..d46972d7 100644 --- a/test/capi/capiSwCanvas.cpp +++ b/test/capi/capiSwCanvas.cpp @@ -57,8 +57,6 @@ TEST_CASE("Memory Reservation", "[capiSwCanvas]") REQUIRE(tvg_canvas_reserve(canvas, 100) == TVG_RESULT_SUCCESS); REQUIRE(tvg_canvas_reserve(canvas, 0) == TVG_RESULT_SUCCESS); - REQUIRE(tvg_canvas_reserve(canvas, -1) == TVG_RESULT_FAILED_ALLOCATION); - REQUIRE(tvg_canvas_destroy(canvas) == TVG_RESULT_SUCCESS); REQUIRE(tvg_engine_term(TVG_ENGINE_SW) == TVG_RESULT_SUCCESS);