Skip to content

Commit

Permalink
Merge pull request pmem#6120 from grom72/print-release-when-build
Browse files Browse the repository at this point in the history
common: print Linux release name during build in Docker (pmem#6120)
  • Loading branch information
grom72 authored Oct 3, 2024
2 parents 0011065 + 5abda3a commit 6363c3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/unittest/basetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def _execute(self, c):
c (Context): test context
"""
self.ctx = c
start_time = None # assign in case clean() or setup() fail
start_time = None # assign in case clean() or setup() fail

try:
# pre-execution cleanup
Expand Down
4 changes: 3 additions & 1 deletion utils/docker/prepare-for-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-2023, Intel Corporation
# Copyright 2016-2024, Intel Corporation

#
# prepare-for-build.sh - is called inside a Docker container; prepares
Expand All @@ -10,6 +10,8 @@

set -e

cat /etc/*release*

# This should be run only on CIs
if [ "$CI_RUN" == "YES" ]; then
# Make sure $WORKDIR has correct access rights
Expand Down

0 comments on commit 6363c3a

Please sign in to comment.