@@ -18,15 +18,15 @@ def setup_and_teardown(self):
1818 # Teardown
1919 stop_server ()
2020
21- @pytest .mark .skipif (platform . system () != "Windows" , reason = "Windows-specific test" )
21+ @pytest .mark .skipif (reason = "Ignore tensorrt-llm test" )
2222 def test_engines_get_tensorrt_llm_should_not_be_incompatible (self ):
2323 exit_code , output , error = run ("Get engine" , ["engines" , "get" , "tensorrt-llm" ])
2424 assert exit_code == 0 , f"Get engine failed with error: { error } "
2525 assert (
2626 "Incompatible" not in output
2727 ), "tensorrt-llm should be Ready or Not Installed on Windows"
2828
29- @pytest .mark .skipif (platform . system () != "Windows" , reason = "Windows-specific test" )
29+ @pytest .mark .skipif (reason = "Ignore onnx-runtime test" )
3030 def test_engines_get_onnx_should_not_be_incompatible (self ):
3131 exit_code , output , error = run ("Get engine" , ["engines" , "get" , "onnxruntime" ])
3232 assert exit_code == 0 , f"Get engine failed with error: { error } "
@@ -41,23 +41,23 @@ def test_engines_get_llamacpp_should_not_be_incompatible(self):
4141 "Incompatible" not in output
4242 ), "llama-cpp should be compatible for Windows, MacOs and Linux"
4343
44- @pytest .mark .skipif (platform . system () != "Darwin" , reason = "macOS-specific test" )
44+ @pytest .mark .skipif (reason = "Ignore tensorrt-llm test" )
4545 def test_engines_get_tensorrt_llm_should_be_incompatible_on_macos (self ):
4646 exit_code , output , error = run ("Get engine" , ["engines" , "get" , "tensorrt-llm" ])
4747 assert exit_code == 0 , f"Get engine failed with error: { error } "
4848 assert (
4949 "is not supported on" in output
5050 ), "tensorrt-llm should be Incompatible on MacOS"
5151
52- @pytest .mark .skipif (platform . system () != "Darwin" , reason = "macOS-specific test" )
52+ @pytest .mark .skipif (reason = "Ignore onnx-runtime test" )
5353 def test_engines_get_onnx_should_be_incompatible_on_macos (self ):
5454 exit_code , output , error = run ("Get engine" , ["engines" , "get" , "onnxruntime" ])
5555 assert exit_code == 0 , f"Get engine failed with error: { error } "
5656 assert (
5757 "is not supported on" in output
5858 ), "onnxruntime should be Incompatible on MacOS"
5959
60- @pytest .mark .skipif (platform . system () != "Linux" , reason = "Linux-specific test" )
60+ @pytest .mark .skipif (reason = "Ignore onnx-runtime test" )
6161 def test_engines_get_onnx_should_be_incompatible_on_linux (self ):
6262 exit_code , output , error = run ("Get engine" , ["engines" , "get" , "onnxruntime" ])
6363 print (output )
0 commit comments