Lines Matching +full:directory +full:- +full:to +full:- +full:scan

1 The shell script run-sample-tests.sh runs selected Zephyr samples against
2 the network test applications Docker container provided by the 'net-tools'
3 Zephyr project, https://github.com/zephyrproject-rtos/net-tools.
10 'net-tools' Docker container has been created, see the first bullet point
11 at the net-tools Docker README file
12 https://github.com/zephyrproject-rtos/net-tools/blob/master/README.docker.
14 In essence, the following needs to be done:
17 * Check out the net-tools project from github or update it with west
18 * Change working directory to the net-tools repository
20 * Run 'docker build -t net-tools .'
22 This creates a Docker image called 'net-tools' which the script will need as
29 The scripts/net/run-sample-tests.sh shell script can be used in two ways:
31 1. From a Zephyr network sample test directory.
35 $ZEPHYR_BASE/scripts/net/run-sample-tests.sh
37 2. By giving the test directories as parameters to the runner script.
41 ./scripts/net/run-sample-tests.sh samples/net/gptp \
46 $ZEPHYR_BASE/scripts/net/run-sample-tests.sh --scan
48 The Docker container and a corresponding 'net-tools0' Docker network is started
50 assigned to the Docker network, which is a Linux network bridge interface.
54 * Docker net-tools image uses addresses 192.0.2.2 and 2001:db8::2
65 container, is returned to the script on Zephyr or Docker application
73 The sample test script tries to automatically figure out the Zephyr base
74 directory, which is assumed to be set by the ZEPHYR_BASE environment variable.
75 Should this not be the case, the directory can be set using '-Z' or
76 '--zephyr-dir' command line arguments. The sample test script also assumes
77 that the net-tools git repository containing the Docker networking setup file
78 'docker.conf' exists at the same directory level as the Zephyr base directory.
79 If the net tools are found elsewhere, the net-tools directory can be set with
80 the 'N' or '--net-tools-dir' command line argument.
82 Help is also available using the 'h' or '--help' argument.