Tests
Suites
Latest Results
Search
Register
Login
Popular Tests
Flexible IO Tester
Timed Linux Kernel Compilation
Blender
7-Zip Compression
SVT-AV1
FFmpeg
Newest Tests
OpenVINO GenAI
Rustls
LiteRT
WarpX
Epoch
Valkey
Recently Updated Tests
srsRAN Project
VVenC
x265
RELION
Llamafile
Llama.cpp
New & Recently Updated Tests
Recently Updated Suites
Machine Learning
Server Motherboard
HPC - High Performance Computing
New & Recently Updated Suites
Component Benchmarks
CPUs / Processors
GPUs / Graphics
OpenGL
Disks / Storage
Motherboards
File-Systems
Operating Systems
OpenBenchmarking.org
Corporate / Organization Info
Bug Reports / Feature Requests
Serial Loopback Test 1.0.0
pts/serial-loopback-1.0.0
- 05 October 2015 -
Initial commit of test profile.
install.sh
#!/bin/sh cat > ~/serial-loopback << EOT #!/bin/sh TEST_CONTENTS="Phoronix Test Suite 1234567890" dmesg > dmesg-output 2>&1 RESULT_SCALE="" RESULTS="" for ttyf in /dev/tty*S* do ttybase=\$(basename \$ttyf) if grep "\$ttybase" dmesg-output >/dev/null then stty -F \$ttyf -echo -onlcr cat \$ttyf > output-file & CAT_PID=\$! sleep 1 echo \$TEST_CONTENTS > \$ttyf sleep 5 kill \$CAT_PID >/dev/null RESULT_SCALE="\$RESULT_SCALE, \$ttyf" if grep -Fxq "\$TEST_CONTENTS" output-file then RESULTS="\$RESULTS,PASS" else RESULTS="\$RESULTS,FAIL" fi rm output-file >/dev/null 2>&1 fi done rm dmesg-output RESULT_SCALE=\${RESULT_SCALE:2} RESULTS=\${RESULTS:1} echo \$RESULT_SCALE > ~/pts-results-scale echo \$RESULTS > \$LOG_FILE EOT chmod +x serial-loopback
results-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v6.0.0m2--> <PhoronixTestSuite> <ResultsParser> <OutputTemplate>#_RESULT_#</OutputTemplate> </ResultsParser> </PhoronixTestSuite>
test-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v6.0.0m2--> <PhoronixTestSuite> <TestInformation> <Title>Serial Loopback Test</Title> <Description>This test will do a simple write/read test on all detected serial interfaces. For this test to work, the relevant serial ports should have a serial loopback plug or have otherwise wired the appropriate pins.</Description> <DisplayFormat>PASS_FAIL</DisplayFormat> <TimesToRun>1</TimesToRun> </TestInformation> <TestProfile> <Version>1.0.0</Version> <SupportedPlatforms>Linux</SupportedPlatforms> <SoftwareType>Utility</SoftwareType> <TestType>System</TestType> <License>Free</License> <Status>Unverified</Status> <EnvironmentSize>1</EnvironmentSize> <Maintainer>Michael Larabel</Maintainer> </TestProfile> </PhoronixTestSuite>