Skip to content

Commit

Permalink
test: avoid parallel tests execution
Browse files Browse the repository at this point in the history
All tests shall be run sequentialy to eliminate any interference
between tests.

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
  • Loading branch information
grom72 committed Apr 4, 2023
1 parent cb4ed17 commit d65f452
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions utils/docker/run-build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2016-2022, Intel Corporation
# Copyright 2016-2023, Intel Corporation

#
# run-build.sh - is called inside a Docker container; prepares the environment
Expand All @@ -26,12 +26,12 @@ echo "## Running make test"
make -j$(nproc) test
echo ""
echo "## Running make pcheck"
# do not change -j2 to -j$(nproc) in case of tests (make check/pycheck)
make -j2 pcheck TEST_BUILD=$TEST_BUILD
# do not change -j1 to -j$(nproc) in case of tests (make check/pycheck)
make -j1 pcheck TEST_BUILD=$TEST_BUILD
echo ""
echo "## Running make pycheck"
# do not change -j2 to -j$(nproc) in case of tests (make check/pycheck)
make -j2 pycheck
# do not change -j1 to -j$(nproc) in case of tests (make check/pycheck)
make -j1 pycheck
echo ""
echo "## Running make source"
make -j$(nproc) DESTDIR=/tmp source
Expand Down

0 comments on commit d65f452

Please sign in to comment.