<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="tests.xsl" type="text/xsl"?>

<TEST>
<NAME>THERMAL_TRIP</NAME>

<DESCRIPTION>
This test determines if the passive trip points works as expected. It temporarily changes the polling frequency and trip points, stresses the cpu, then checks to see this activated cpu throttling and cpu frequency scaling.
</DESCRIPTION>

<FAIL>
<MSG>Changing passive trip point seems uneffective in Zone %x</MSG>
<DETAILS>
The cpu frequency and thermal zone %x displayed no change during cpu stress.
</DETAILS>
</FAIL>

<WARN>
<MSG>Zone %x doesn't support passive trip point at all.</MSG>
<DETAILS>
/proc/acpi/thermal_zone/%x/trip_points is either empty or contains something like [not supported].
</DETAILS>
</WARN>

<WARN>
<MSG>Cannot test trip points without existing %dir</MSG>
<DETAILS>
Where %dir is /proc/acpi/processor/*
</DETAILS>
</WARN>

<WARN>
<MSG>No thermal zones found</MSG>
<DETAILS>
Could not find /proc/acpi/thermal_zone/*
</DETAILS>
</WARN>

<PASS>
<MSG>Zone %x supports passive trip point (throttled from %a to %b / cpufreq scaling from %c to %d kHz).</MSG>
<DETAILS>
Under cpu stress, zone %x throttled from %a to %b, and the cpu scaled from %c kHz to %d Khz.
</DETAILS>
</PASS>

<PASS>
<MSG>Zone %x supports passive trip point (throttled from %a to %b).</MSG>
<DETAILS>
Under cpu stress, zone %x throttled from %a to %b.
</DETAILS>
</PASS>

</TEST>
