/openbmc/linux/tools/testing/ktest/examples/include/ |
H A D | min-config.conf | 3 # (A .config file that is the minimum for a machine to boot, or 8 # .config by only setting the configs in your MIN_CONFIG. The closer 10 # boot your machine, the closer the config you test with will be 11 # to the users config that had the failure. 16 # In this example, the final config will reside in 17 # ${CONFIG_DIR}/config-new-min and ${CONFIG_DIR}/config-new-min-net. 26 # This is because the second test config is a subset of the first). 28 # The ${CONFIG_DIR}/config-skip (and -net) will hold the configs 30 # The config-new-min holds configs that ktest.pl could not test 31 # directly because another config that was needed to boot the box [all …]
|
/openbmc/dbus-sensors/src/cable-monitor/ |
H A D | CableMonitor.cpp | 5 #include <phosphor-logging/lg2.hpp> 27 notifyWatch(ctx, Config::configFileDir, 35 const std::string& /*unused*/) -> void in inventoryAddedHandler() 43 const std::string& /*unused*/) -> void in inventoryRemovedHandler() 50 -> sdbusplus::async::task<> in configUpdateHandler() 52 if (strcmp(Config::configFileName, configFileName.c_str()) != 0) in configUpdateHandler() 54 error("Update config file name {NAME} is not expected", "NAME", in configUpdateHandler() 59 std::string(Config::configFileDir) + "/" + configFileName; in configUpdateHandler() 62 error("Config file {NAME} does not exist", "NAME", configFilePath); in configUpdateHandler() 65 expectedCables = co_await Config::processConfig(configFilePath); in configUpdateHandler() [all …]
|
/openbmc/u-boot/test/py/tests/ |
H A D | test_net.py | 1 # SPDX-License-Identifier: GPL-2.0 4 # Test various network-related functionality, such as the dhcp, ping, and 44 'fn': 'ubtest-readable.bin', 53 'fn': 'ubtest-readable.bin', 69 init_usb = u_boot_console.config.env.get('env__net_uses_usb', False) 73 init_pci = u_boot_console.config.env.get('env__net_uses_pci', False) 85 test_dhcp = u_boot_console.config.env.get('env__net_dhcp_server', False) 87 pytest.skip('No DHCP server available') 104 env_vars = u_boot_console.config.env.get('env__net_static_env_vars', None) 106 pytest.skip('No static network configuration is defined') [all …]
|
H A D | test_efi_loader.py | 1 # SPDX-License-Identifier: GPL-2.0 61 init_usb = u_boot_console.config.env.get('env__net_uses_usb', False) 65 init_pci = u_boot_console.config.env.get('env__net_uses_pci', False) 77 test_dhcp = u_boot_console.config.env.get('env__net_dhcp_server', False) 79 pytest.skip('No DHCP server available') 96 env_vars = u_boot_console.config.env.get('env__net_static_env_vars', None) 98 pytest.skip('No static network configuration is defined') 109 A file as described by an env config <env_conf> is downloaded from the TFTP 113 pytest.skip('Network not initialized') 115 f = u_boot_console.config.env.get(env_conf, None) [all …]
|
H A D | test_sleep.py | 1 # SPDX-License-Identifier: GPL-2.0 20 sleep_skip = u_boot_console.config.env.get('env__sleep_accurate', True) 22 pytest.skip('sleep is not accurate') 24 if u_boot_console.config.buildconfig.get('config_cmd_misc', 'n') != 'y': 25 pytest.skip('sleep command not supported') 31 elapsed = tend - tstart 32 assert elapsed >= (sleep_time - 0.01) 33 if not u_boot_console.config.gdbserver:
|
/openbmc/openbmc/poky/meta/recipes-support/gpgme/gpgme/ |
H A D | 0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch | 4 Subject: [PATCH] gpgme-config: skip all /lib* or /usr/lib* directories in 10 Upstream-Status: Inappropriate [oe-core specific] 11 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 12 --- 13 src/gpgme-config.in | 2 +- 14 1 file changed, 1 insertion(+), 1 deletion(-) 16 diff --git a/src/gpgme-config.in b/src/gpgme-config.in 18 --- a/src/gpgme-config.in 19 +++ b/src/gpgme-config.in 20 @@ -157,7 +157,7 @@ while test $# -gt 0; do [all …]
|
/openbmc/linux/tools/testing/ktest/ |
H A D | sample.conf | 2 # Config file for ktest.pl 7 # the name of your config file as the first argument of ktest.pl. 34 # You can skip a test by adding SKIP (before or after the ITERATE 37 # TEST_START SKIP 39 # TEST_START SKIP ITERATE 10 41 # TEST_START ITERATE 10 SKIP 43 # The SKIP label causes the options and the test itself to be ignored. 44 # This is useful to set up several different tests in one config file, and 54 # MIN_CONFIG = /home/test/config-test1 57 # MIN_CONFIG = /home/test/config-default [all …]
|
H A D | ktest.pl | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Copyright 2010 - Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. 67 "GRUB_REBOOT" => "grub2-reboot", 68 "GRUB_BLS_GET" => "grubby --info=ALL", 76 "LOCALVERSION" => "-test", 79 "TARGET_IMAGE" => "/boot/vmlinuz-test", 247 # set when creating a new config 255 # in a .config file. The MIN_CONFIG and ADD_CONFIG configs. 258 # do not force reboots on config problems [all …]
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | Makefile.softmmu-target | 24 LDFLAGS=-Wl,-T$(LINK_SCRIPT) 27 CFLAGS+=-nostdlib -ggdb -O0 $(MINILIB_INC) 28 LDFLAGS+=-static -nostdlib $(CRT_OBJS) $(MINILIB_OBJS) -lgcc 30 config-cc.mak: Makefile 31 $(quiet-@)( \ 32 $(call cc-option,-march=armv8.3-a, CROSS_CC_HAS_ARMV8_3); \ 33 $(call cc-option,-march=armv8.5-a+memtag, CROSS_CC_HAS_ARMV8_MTE)) 3> config-cc.mak 34 -include config-cc.mak 40 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -x assembler-with-cpp -Wa,--noexecstack -c $< -o $@ 44 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) [all …]
|
/openbmc/u-boot/test/py/tests/test_fs/ |
H A D | conftest.py | 1 # SPDX-License-Identifier: GPL-2.0+ 21 """Enable --fs-type option. 26 parser: Pytest command-line parser. 31 parser.addoption('--fs-type', action='append', default=None, 34 def pytest_configure(config): argument 37 A file system explicitly named with --fs-type option is selected 42 config: Pytest configuration. 55 supported_fs = config.getoption('fs_type') 92 """Convert a file system type to an U-boot specific string 95 or a config name in u-boot. Currently fat16 and fat32 are handled [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/openl2tp/openl2tp/ |
H A D | run-ptest | 3 TMP_DIR=`mktemp -d /tmp/std.26.tmp.XXXXXX` 11 if [ -f ${TMP_DIR}/${file} ]; then 24 if [ -d /usr/lib64/openl2tp/ptest ]; then 26 elif [ -d /usr/lib/openl2tp/ptest ]; then 29 exit_cus "The openl2tp ptest directory not installed, skip the test" 1 32 #read -p "Please input the network interface you use to test(such as eth0, em1 etc):" ETH_TEST 33 ETH_TEST=`ip route get 8.8.8.8 | awk -- '{print $5}'` 39 # check openl2tp related kernel config 40 zcat /proc/config.gz | grep CONFIG_L2TP=y > /dev/null || exit_cus "Failed to check CONFIG_L2TP=y, s… 41 zcat /proc/config.gz | grep CONFIG_PPPOL2TP=m > /dev/null || exit_cus "Failed to check CONFIG_PPPOL… [all …]
|
/openbmc/qemu/tests/tcg/ppc64/ |
H A D | Makefile.target | 1 # -*- Mode: makefile -*- 7 config-cc.mak: Makefile 8 $(quiet-@)( \ 9 $(call cc-option,-mcpu=power8, CROSS_CC_HAS_CPU_POWER8); \ 10 $(call cc-option,-mpower10, CROSS_CC_HAS_POWER10)) 3> config-cc.mak 12 -include config-cc.mak 14 # multi-threaded tests are known to fail (e.g., clang-user CI job) 15 # See: https://gitlab.com/qemu-project/qemu/-/issues/2456 16 run-signals: signals 17 $(call skip-test, $<, "BROKEN (flaky with clang) ") [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/kpatch/kpatch/ |
H A D | 0002-kpatch-build-allow-overriding-of-distro-name.patch | 4 Subject: [PATCH] kpatch-build: allow overriding of distro name 7 distro name, for example during cross-compilation 11 This patch adds a new --distro option which 14 Upstream-Status: Pending 16 Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com> 17 --- 18 kpatch-build/kpatch-build | 9 +++++++-- 19 1 file changed, 7 insertions(+), 2 deletions(-) 21 diff --git a/kpatch-build/kpatch-build b/kpatch-build/kpatch-build 23 --- a/kpatch-build/kpatch-build [all …]
|
H A D | 0001-kpatch-build-add-cross-compilation-support.patch | 4 Subject: [PATCH] kpatch-build: add cross-compilation support 6 This patch introduces new option for kpatch-build 7 script "--cross-compile" which can be used for 8 specifying cross-complier prefix. 14 possible to pass multy-component strings like 15 "ccache x86_64-xelinux-linux-" as cross-compiler 17 Upstream-Status: Pending 19 Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com> 20 --- 21 kpatch-build/kpatch-build | 13 +++++++++++-- [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | stat.c | 1 // SPDX-License-Identifier: GPL-2.0 24 stats->n++; in update_stats() 25 delta = val - stats->mean; in update_stats() 26 stats->mean += delta / stats->n; in update_stats() 27 stats->M2 += delta*(val - stats->mean); in update_stats() 29 if (val > stats->max) in update_stats() 30 stats->max = val; in update_stats() 32 if (val < stats->min) in update_stats() 33 stats->min = val; in update_stats() 38 return stats->mean; in avg_stats() [all …]
|
/openbmc/linux/lib/ |
H A D | Kconfig.kcsan | 1 # SPDX-License-Identifier: GPL-2.0-only 3 config HAVE_ARCH_KCSAN 6 config HAVE_KCSAN_COMPILER 7 def_bool (CC_IS_CLANG && $(cc-option,-fsanitize=thread -mllvm -tsan-distinguish-volatile=1)) || \ 8 (CC_IS_GCC && $(cc-option,-fsanitize=thread --param tsan-distinguish-volatile=1)) 11 <file:Documentation/dev-tools/kcsan.rst>. 21 data-race detector that relies on compile-time instrumentation. 22 KCSAN uses a watchpoint-based sampling approach to detect races. 29 See <file:Documentation/dev-tools/kcsan.rst> for more details. 33 config CC_HAS_TSAN_COMPOUND_READ_BEFORE_WRITE [all …]
|
/openbmc/linux/scripts/ |
H A D | leaking_addresses.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 7 # - Scans dmesg output. 8 # - Walks directory tree and parses each file (for each directory in @DIRS). 10 # Use --debug to output path before parsing, this is useful to find files that 28 use Getopt::Long qw(:config no_auto_abbrev); 29 use Config; 41 # Kernel addresses vary by architecture. We can only auto-detect the following 42 # architectures (using `uname -m`). (flag --32-bit overrides auto-detection.) 55 my $opt_32bit = 0; # Scan 32-bit kernel. 56 my $page_offset_32bit = 0; # Page offset for 32-bit kernel. [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_bpftool_build.sh | 2 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 -h|--help) 6 echo -e "$0 [-j <n>]" 7 echo -e "\tTest the different ways of building bpftool." 8 echo -e "" 9 echo -e "\tOptions:" 10 echo -e "\t\t-j <n>:\tPass -j flag to 'make'." 19 SCRIPT_REL_PATH=$(realpath --relative-to=$PWD $0) 23 if [ ! -e tools/bpf/bpftool/Makefile ]; then 24 echo -e "skip: bpftool files not found!\n" [all …]
|
/openbmc/u-boot/board/keymile/km_arm/ |
H A D | fpga_config.c | 1 // SPDX-License-Identifier: GPL-2.0+ 104 int skip; variable 112 skip = 0; in trigger_fpga_config() 114 printf("PCIe FPGA config: skipped\n"); in trigger_fpga_config() 115 skip = 1; in trigger_fpga_config() 127 /* trigger the config start */ in trigger_fpga_config() 140 /* finally, raise INIT_B to remove the config delay */ in trigger_fpga_config() 163 if (skip) in wait_for_fpga_config() 171 printf("PCIe FPGA config:"); in wait_for_fpga_config() 179 if (timeout-- == 0) { in wait_for_fpga_config() [all …]
|
/openbmc/phosphor-ipmi-flash/bmc/ |
H A D | README.md | 1 # Format of Config file 3 This document gives details about the format of the config file used by log, 4 version and firmware handler. The config file is a .json file. 8 There are 3 important parameters in this config file 14 An example config file - 25 "type": "skip" 29 "unit": "adm1266-verify@sink0.service" 33 "unit": "adm1266-update@sink0.service" 52 These actions can be triggered from ipmi-blob commands. Currently there are 2 53 types of actions supported: `systemd` to invoke a systemd service, or `skip` to [all …]
|
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init/ |
H A D | 99-platform-init | 5 if ! GPIOCHIP_NUM="$(basename "$(ls -d /sys/bus/i2c/devices/14-0014/gpiochip*)")"; then 29 echo "invalid pdb leak config: ${LEAK_CONFIG}" 35 if [ ! -c /dev/mem ]; then 46 mkdir -p "$(dirname "${SLOT_FILE}")" 53 # Set PDB CPLD leak event config 54 PLAT_CONFIG_FILE="/mnt/data/catalina-platform-config.json" 55 if PDB_CPLD_VER=$(/usr/sbin/i2ctransfer -y -f 14 w4@0x40 0xc0 0x00 0x00 0x00 r4); then 60 if [ "$PDB_CPLD_VER_DEC" -lt 65536 ]; then 62 echo "Skip leak event configuration" 67 echo "Get PDB leak config setting = ${PDB_LEAK_CONFIG}" [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/python/ |
H A D | python3_3.13.2.bb | 4 LICENSE = "PSF-2.0" 9 SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ 10 file://run-ptest \ 13 file://python3-manifest.json \ 16 file://0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch \ 17 file://0001-test_locale.py-correct-the-test-output-format.patch \ 18 file://0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch \ 19 file://0001-test_ctypes.test_find-skip-without-tools-sdk.patch \ 21 file://0001-sysconfig.py-use-platlibdir-also-for-purelib.patch \ 22 file://0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch \ [all …]
|
/openbmc/phosphor-mrw-tools/ |
H A D | gen_fru_properties.pl | 24 "skip-broken-mrw" => \$skipBrokenMrw 36 my $targets = Targets->new; 37 $targets->loadXML($mrwFile); 41 # Parse config YAML 45 # Targets we're interested in, from the config YAML 66 if (!$targets->isBadAttribute($item->{TARGET}, "TYPE")) { 67 $targetType = $targets->getAttribute($item->{TARGET}, "TYPE"); 69 next if (not exists $targetItems->{$targetType}); 91 while (my ($interface,$propertyMap) = each %{$yamlDict->{$type}}) 109 print $fh $item->{OBMC_NAME}.":"; [all …]
|
/openbmc/phosphor-fan-presence/ |
H A D | meson.options | 5 'json-config', 12 'machine-name', 15 description: 'Machine name being built. Used to install the proper JSON config files.', 21 'control-service', 28 'json-control', 32 (using json-control=disabled) when json-config is enabled. 33 If json-control=enabled and json-config=disabled it will 38 'control-persist-root-path', 40 value: '/var/lib/phosphor-fan-presence/control', 45 'fan-def-yaml-file', [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | test_ingress_egress_chaining.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # Kselftest framework requirement - SKIP code is 4. 10 if [ "$(id -u)" -ne 0 ];then 11 echo "SKIP: Need root privileges" 17 modinfo $mod &>/dev/null || { echo "SKIP: Need act_mirred module"; exit $ksft_skip; } 34 killall -q -9 udpgso_bench_rx 41 function config() { function 54 echo "Add tc filter ingress->egress forwarding $veth1 <-> $veth2" 62 echo "Add tc filter egress->ingress forwarding $peer1 -> $veth1, bypassing the veth pipe" 70 ./udpgso_bench_rx -t & [all …]
|