Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions behavior_tests/behavior_tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
<test testName="check-windows-version" configFile="config/TEMPLATE_behavior_tests.xml" />
<test testName="query-api-mapping" configFile="config/TEMPLATE_behavior_tests.xml" />
<test testName="ngt-invalid-experimental-features" configFile="config/TEMPLATE_behavior_tests.xml" />
<test testName="ngt-query-api-mapping" configFile="config/TEMPLATE_behavior_tests.xml" />
</tests>

</suite>
29 changes: 29 additions & 0 deletions behavior_tests/src/ngt-query-api-mapping/do_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# ====------ do_test.py---------- *- Python -* ----===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#
# ===----------------------------------------------------------------------===#
import subprocess
import platform
import os
import sys
from test_config import CT_TOOL

from test_utils import *

def setup_test():
change_dir(test_config.current_test)
return True

def migrate_test():
call_subprocess(test_config.CT_TOOL + " -query-api-mapping=fail")
return is_sub_string("Mapping for fail is not available", test_config.command_output)

def build_test():
return True

def run_test():
return True