2026-06-12 19:27:16 +04:00
|
|
|
import std/os
|
2026-06-12 19:59:28 +04:00
|
|
|
import std/strutils
|
2026-06-12 19:27:16 +04:00
|
|
|
import ./imports
|
|
|
|
|
|
|
|
|
|
## Real-topology NAT scenarios (need podman + the storage-nat image).
|
2026-06-12 19:59:28 +04:00
|
|
|
## Limit which scenarios run with STORAGE_INTEGRATION_TEST_INCLUDES, listing test
|
|
|
|
|
## file paths, exactly as testIntegration does.
|
|
|
|
|
const includes = getEnv("STORAGE_INTEGRATION_TEST_INCLUDES")
|
2026-06-12 19:27:16 +04:00
|
|
|
|
2026-06-12 19:59:28 +04:00
|
|
|
when includes != "":
|
|
|
|
|
importAll(includes.split(","))
|
|
|
|
|
else:
|
|
|
|
|
importTests(currentSourcePath().parentDir() / "integration" / "nat", "")
|
2026-06-12 19:27:16 +04:00
|
|
|
|
|
|
|
|
{.warning[UnusedImport]: off.}
|