Regression testing

23 views
Skip to first unread message

Philip Prindeville

unread,
Jul 12, 2010, 12:37:25 PM7/12/10
to hai...@googlegroups.com
My "git" fu isn't as strong as it should be (I work with too many SCM's
to keep them all straight).

I wanted to build and test binaries from the hai repo with various
states of changes... I can't tell if the last set of changes broke the
name cache or not, as the buttons don't seem to have names (unless I'm
just going about it wrong).

Anyone able to refresh me how to sync up a checkout to a particular
label? I.e. the equivalent of "svn -rNNNN update ."?

Thanks,

-Philip

Rick Macdonald

unread,
Jul 13, 2010, 4:18:51 PM7/13/10
to hai...@googlegroups.com, Philip Prindeville
I don't know git either...

I'm away from my machine today but as I recall, you have to first run
the getnames (?) command with a cache file name to save the names to,
and then supply this file name on the command line or in the config file
every time you run hai.

I assume it doesn't fetch them anew every time and uses the cache file
because the getnames command takes a relatively long time to run.

Rick

--
...RickM...

Philip Prindeville

unread,
Nov 11, 2010, 1:48:50 AM11/11/10
to hai...@googlegroups.com
I think we can commit my changes from June back into "master".

Just noticed that with a HAI 31A00-8 you don't get correct output:

hai> temps
58 : Zone 58 : 36F, 2.0C
59 : Zone 59 : 66F, 19.0C
60 : Zone 60 : 52F, 11.0C
61 : Zone 61 : 55F, 13.0C

hai>

Note Zone 59 should be shown as humidity, not temperature...

Ran some quick tests. Everything else seems to work fine. This looks like a pre-existing bug.

Rick Macdonald

unread,
Nov 16, 2010, 12:30:46 PM11/16/10
to hai...@googlegroups.com, Philip Prindeville
In v0.8, Chuck added do_sensor_stat() run by the command "sensors".
"temps" is still there and still runs do_temp_stat(). However, the code
run by "sensors" is the code that most matches the original
do_temp_stat(). Send us the output of both commands. I don't think
you'll see the humidity though. I don't have a humidity sensor.

hai> help temps

Format: temps [<start temp>] [<end temp>]

Displays the temps from a set of thermostats and temperature
sensors.
Default is all named. Specify 'all' to include unnamed.

hai> help sensors

Format: sensors [<start sensor>] [<end sensor>]

Displays the status of a set of temperature sensors.
Default is all named. Specify 'all' to include unnamed.

hai> temps all
1 : Main Therm : 76F, 24.5C
2 : Upper Therm : 75F, 24.0C
20 : Outdoor Temp : 22F, -5.5C

hai> sensors all
16 : Zone 16 : Off
Temp: 46F, 8.0C
High: -40F, -40.0C
Low: -40F, -40.0C
20 : Outdoor Temp : Off
Temp: 22F, -5.5C
High: -40F, -40.0C
Low: -40F, -40.0C

hai> temps
1 : Main Therm : 76F, 24.5C
2 : Upper Therm : 75F, 24.0C
20 : Outdoor Temp : 21F, -6.0C

hai> sensors
20 : Outdoor Temp : Off
Temp: 21F, -6.0C
High: -40F, -40.0C
Low: -40F, -40.0C

hai>

Rick

Philip Prindeville

unread,
Nov 16, 2010, 11:14:29 PM11/16/10
to Rick Macdonald, hai...@googlegroups.com
hai> sensors all
58 : Outside Temp : Off
Temp: 38F, 3.5C

High: -40F, -40.0C
Low: -40F, -40.0C
59 : Outside Humidty : Off
Temp: 54F, 12.0C

High: -40F, -40.0C
Low: -40F, -40.0C
60 : Master Temp : Off
Temp: 54F, 12.0C

High: -40F, -40.0C
Low: -40F, -40.0C
61 : Kitchen Temp : Off
Temp: 56F, 13.5C

High: -40F, -40.0C
Low: -40F, -40.0C

hai> temps all
1 : Main TSTAT : 59F, 15.0C
58 : Outside Temp : 38F, 3.5C
59 : Outside Humidty : 54F, 12.0C
60 : Master Temp : 54F, 12.0C
61 : Kitchen Temp : 56F, 13.5C

hai>

Weather.com is telling me that the current humidity at the airport is 76%, but that's 12 miles away from me... so it's entirely possible that my humidity is different.

Rick Macdonald

unread,
Nov 16, 2010, 11:41:15 PM11/16/10
to Philip Prindeville, hai...@googlegroups.com
I won't be able to look closely for a few days. Do you think it's
telling you that the humidity is 54% ? The numbers for 59 look
suspiciously the same as 60.

Is it really only 13.5C in your kitchen?

Rick

Philip Prindeville

unread,
Nov 17, 2010, 1:11:33 AM11/17/10
to hai...@googlegroups.com
I don't think it's telling me the humidity is 54%. I think humidity uses a different scale.

Philip Prindeville

unread,
Nov 19, 2010, 5:33:41 PM11/19/10
to Rick Macdonald, hai...@googlegroups.com
BTW: Did the master branch sync up with the 'philipp' branch to upstream my changes?

Reply all
Reply to author
Forward
0 new messages