public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
blob e7456e8be4740b05aea18b0da8c8e7c1586625b2 611 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
 
#! /usr/bin/env python3

# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright Red Hat
# Author: David Gibson <david@gibson.dropbear.id.au>

"""
Test A Simple Socket Transport
library of test helpers for passt & pasta
"""

import importlib
import sys

import exeter

MODULES = [
    'cmdsite',
    'ip',
    'unshare',
]


if __name__ == '__main__':
    if sys.argv[1:] == ["--modules"]:
        for m in MODULES:
            print(m.replace('.', '/') + '.py')
        sys.exit(0)

    for m in MODULES:
        mod = importlib.import_module('.' + m, __package__)
        mod.selftests()

    exeter.main()

debug log:

solving e7456e8b ...
found e7456e8b in https://archives.passt.top/passt-dev/20240826020942.545155-10-david@gibson.dropbear.id.au/
found 9cba8985 in https://archives.passt.top/passt-dev/20240826020942.545155-9-david@gibson.dropbear.id.au/
found 4ea4c593 in https://archives.passt.top/passt-dev/20240826020942.545155-7-david@gibson.dropbear.id.au/
found 310e31d7 in https://archives.passt.top/passt-dev/20240826020942.545155-6-david@gibson.dropbear.id.au/

applying [1/4] https://archives.passt.top/passt-dev/20240826020942.545155-6-david@gibson.dropbear.id.au/
diff --git a/test/tasst/__main__.py b/test/tasst/__main__.py
new file mode 100644
index 00000000..310e31d7


applying [2/4] https://archives.passt.top/passt-dev/20240826020942.545155-7-david@gibson.dropbear.id.au/
diff --git a/test/tasst/__main__.py b/test/tasst/__main__.py
index 310e31d7..4ea4c593 100644


applying [3/4] https://archives.passt.top/passt-dev/20240826020942.545155-9-david@gibson.dropbear.id.au/
diff --git a/test/tasst/__main__.py b/test/tasst/__main__.py
index 4ea4c593..9cba8985 100644


applying [4/4] https://archives.passt.top/passt-dev/20240826020942.545155-10-david@gibson.dropbear.id.au/
diff --git a/test/tasst/__main__.py b/test/tasst/__main__.py
index 9cba8985..e7456e8b 100644

Checking patch test/tasst/__main__.py...
Applied patch test/tasst/__main__.py cleanly.
Checking patch test/tasst/__main__.py...
Applied patch test/tasst/__main__.py cleanly.
Checking patch test/tasst/__main__.py...
Applied patch test/tasst/__main__.py cleanly.
Checking patch test/tasst/__main__.py...
Applied patch test/tasst/__main__.py cleanly.

index at:
100644 e7456e8be4740b05aea18b0da8c8e7c1586625b2	test/tasst/__main__.py

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).