Make regression tests deterministic by having a constant random seed

This commit is contained in:
Adam Dunkels 2012-12-09 22:15:59 +01:00
parent d917d64cfb
commit ccc4b9e37f
3 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@
<simulation> <simulation>
<title>Rime collect test</title> <title>Rime collect test</title>
<delaytime>0</delaytime> <delaytime>0</delaytime>
<randomseed>generated</randomseed> <randomseed>1</randomseed>
<motedelay_us>10000000</motedelay_us> <motedelay_us>10000000</motedelay_us>
<radiomedium> <radiomedium>
se.sics.cooja.radiomediums.UDGM se.sics.cooja.radiomediums.UDGM

View file

@ -7,7 +7,7 @@
<simulation> <simulation>
<title>My simulation</title> <title>My simulation</title>
<delaytime>0</delaytime> <delaytime>0</delaytime>
<randomseed>generated</randomseed> <randomseed>1</randomseed>
<motedelay_us>10000000</motedelay_us> <motedelay_us>10000000</motedelay_us>
<radiomedium> <radiomedium>
se.sics.cooja.radiomediums.UDGM se.sics.cooja.radiomediums.UDGM

View file

@ -3,7 +3,7 @@
<simulation> <simulation>
<title>My simulation</title> <title>My simulation</title>
<delaytime>-2147483648</delaytime> <delaytime>-2147483648</delaytime>
<randomseed>generated</randomseed> <randomseed>1</randomseed>
<motedelay_us>1000000</motedelay_us> <motedelay_us>1000000</motedelay_us>
<radiomedium> <radiomedium>
se.sics.cooja.radiomediums.UDGM se.sics.cooja.radiomediums.UDGM