#!/bin/sh # SPDX-License-Identifier: GPL-2.0+ # # Create a spreadsheet from torture-test Kconfig options and kernel boot # parameters. Run this in the directory containing the scenario files. # # Usage: config2csv path.csv [ "scenario1 scenario2 ..." ] # # By default, this script will take the list of scenarios from the CFLIST # file in that directory, otherwise it will consider only the scenarios # specified on the command line. It will examine each scenario's file # and also its .boot file, if present, and create a column in the .csv # output file. Note that "CFLIST" is a synonym for all the scenarios in the # CFLIST file, which allows easy comparison of those scenarios with selected # scenarios such as BUSTED that are normally omitted from CFLIST files.
csvout=${1} if test -z "$csvout" then echo"Need .csv output file as first argument."
exit 1 fi
shift
defaultconfigs="`tr '\012' ' ' < CFLIST`" if test "$#" -eq 0 then
scenariosarg=$defaultconfigs else
scenariosarg=$* fi
scenarios="`echo $scenariosarg | sed -e "s/\<CFLIST\>/$defaultconfigs/g"`"
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.