We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10b725e commit 4b02872Copy full SHA for 4b02872
tests/integration_tests/build/test_gdb.py
@@ -0,0 +1,19 @@
1
+# Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+# SPDX-License-Identifier: Apache-2.0
3
+"""A test that ensures that firecracker builds with GDB feature enabled at integration time."""
4
+
5
+import platform
6
7
+import pytest
8
9
+import host_tools.cargo_build as host # pylint:disable=import-error
10
11
+MACHINE = platform.machine()
12
+TARGET = "{}-unknown-linux-musl".format(MACHINE)
13
14
15
+@pytest.mark.skipif(MACHINE != "x86_64", reason="GDB runs only on x86_64.")
16
+def test_gdb_compiles():
17
+ """Checks that all benchmarks compile"""
18
19
+ host.cargo("build", f"--features gdb --target {TARGET}")
0 commit comments