From 3cde965e7a348b0c7d2687a4a2d27ba9097ade25 Mon Sep 17 00:00:00 2001 From: groshevmaksim Date: Mon, 18 Aug 2025 11:32:08 +0300 Subject: [PATCH] Enable verifier by default Fix of tests with verifier Change-Id: I719d347486efa5d38b6e79447cc9a8e01c0b1cd3 Signed-off-by: groshevmaksim --- .../ets/re_export/export/export_elements.ets | 3 +++ ets2panda/test/runtime/ets/re_export/import.ets | 3 +++ .../ets/re_export/import.ets.expected.err | 16 ---------------- 3 files changed, 6 insertions(+), 16 deletions(-) delete mode 100644 ets2panda/test/runtime/ets/re_export/import.ets.expected.err diff --git a/ets2panda/test/runtime/ets/re_export/export/export_elements.ets b/ets2panda/test/runtime/ets/re_export/export/export_elements.ets index 62fb9165c7..0eda0eebb4 100644 --- a/ets2panda/test/runtime/ets/re_export/export/export_elements.ets +++ b/ets2panda/test/runtime/ets/re_export/export/export_elements.ets @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +/*--- +tags: [not-a-test, compile-only] +---*/ export interface ScaleOption{ x?:number; diff --git a/ets2panda/test/runtime/ets/re_export/import.ets b/ets2panda/test/runtime/ets/re_export/import.ets index 43b28e982d..ccac001496 100644 --- a/ets2panda/test/runtime/ets/re_export/import.ets +++ b/ets2panda/test/runtime/ets/re_export/import.ets @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +/*--- +files: ['./export/export_elements.ets'] +---*/ import {ScaleOption,A as ScaleOption2} from "./export/reexport_elements2" diff --git a/ets2panda/test/runtime/ets/re_export/import.ets.expected.err b/ets2panda/test/runtime/ets/re_export/import.ets.expected.err deleted file mode 100644 index f3cf66db9c..0000000000 --- a/ets2panda/test/runtime/ets/re_export/import.ets.expected.err +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (c) 2025 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -E/verifier: Cannot link class: Cannot find class Lexport_elements/ScaleOption; in boot panda files: -E/verifier: Cannot link class: Cannot find class Lexport_elements/ScaleOption2; in boot panda files: \ No newline at end of file -- Gitee