summaryrefslogtreecommitdiffstats
path: root/tools/test
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-08 11:53:20 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-08 11:53:20 -0400
commit2ee4fe8f43b0dc3e080c91931eadade1fd636c27 (patch)
tree01432ca250db20d95327440ddb87b95b6ffd9abb /tools/test
parent668097c9753a7a42b5f98dec45ca1fb7023a053c (diff)
downloadopen-iov-2ee4fe8f43b0dc3e080c91931eadade1fd636c27.tar.gz
open-iov-2ee4fe8f43b0dc3e080c91931eadade1fd636c27.zip
spdx: add BSD-3-Clause identifiers to userspace/tools/scripts sources
Sweep of the 155 tracked C/Python/shell files under userspace/ (excluding the MIT-licensed vendored userspace/extern/), tools/ and scripts/ that had no per-file license identifier. Each gains the minimal two-line header in the area's existing form: 'SPDX-License-Identifier: BSD-3-Clause' plus 'Copyright (c) 2026 Open-IOV contributors'; shebang and coding lines stay first. No other content touched. kernel/** is deliberately out of scope (recorded as a follow-up in CODESTD-REPORT-2026-10-08.md): its SPDX coverage and MODULE_LICENSE normalization need their own GPL-2.0 pass.
Diffstat (limited to 'tools/test')
-rw-r--r--tools/test/cuda_drv_test.c2
-rw-r--r--tools/test/cuda_drv_test2.c2
-rw-r--r--tools/test/gpage_test.c2
-rwxr-xr-xtools/test/run_integration_tests.sh2
4 files changed, 8 insertions, 0 deletions
diff --git a/tools/test/cuda_drv_test.c b/tools/test/cuda_drv_test.c
index 9501cb3..9c2bd21 100644
--- a/tools/test/cuda_drv_test.c
+++ b/tools/test/cuda_drv_test.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/* cuda_drv_test.c - minimal CUDA driver-API smoke test (dlopen, no toolkit).
*
* Run inside the guest. Exercises the paths CUDA needs beyond NVML:
diff --git a/tools/test/cuda_drv_test2.c b/tools/test/cuda_drv_test2.c
index a3d3190..6d37f72 100644
--- a/tools/test/cuda_drv_test2.c
+++ b/tools/test/cuda_drv_test2.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/* cuda_drv_test2.c - minimal CUDA driver-API smoke test (dlopen, no toolkit)
* with copy-path pause points for live inspection.
*
diff --git a/tools/test/gpage_test.c b/tools/test/gpage_test.c
index 33d0c8d..1ad2212 100644
--- a/tools/test/gpage_test.c
+++ b/tools/test/gpage_test.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/* gpage_test.c - guest-page GPA probe for the physical-backend guest-memory path.
*
* Run as root inside the guest (plain gcc on Ubuntu 24.04, no CUDA).
diff --git a/tools/test/run_integration_tests.sh b/tools/test/run_integration_tests.sh
index 06e309c..5f97898 100755
--- a/tools/test/run_integration_tests.sh
+++ b/tools/test/run_integration_tests.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# GSP vGPU-IO Integration Test Runner
set -e