diff --git a/tools/cooja/contiki_tests/cooja_helloworld.csc b/regression-tests/02-hello-world/01-hello-world-cooja.csc
similarity index 100%
rename from tools/cooja/contiki_tests/cooja_helloworld.csc
rename to regression-tests/02-hello-world/01-hello-world-cooja.csc
diff --git a/tools/cooja/contiki_tests/sky_helloworld.csc b/regression-tests/02-hello-world/02-hello-world-sky.csc
similarity index 100%
rename from tools/cooja/contiki_tests/sky_helloworld.csc
rename to regression-tests/02-hello-world/02-hello-world-sky.csc
diff --git a/tools/cooja/contiki_tests/micaz_helloworld.csc b/regression-tests/02-hello-world/03-hello-world-micaz.csc
similarity index 100%
rename from tools/cooja/contiki_tests/micaz_helloworld.csc
rename to regression-tests/02-hello-world/03-hello-world-micaz.csc
diff --git a/tools/cooja/contiki_tests/esb_helloworld.csc b/regression-tests/02-hello-world/04-hello-world-esb.csc
similarity index 100%
rename from tools/cooja/contiki_tests/esb_helloworld.csc
rename to regression-tests/02-hello-world/04-hello-world-esb.csc
diff --git a/tools/cooja/contiki_tests/exp5438_helloworld.csc b/regression-tests/02-hello-world/05-exp5438-hello-world.csc
similarity index 100%
rename from tools/cooja/contiki_tests/exp5438_helloworld.csc
rename to regression-tests/02-hello-world/05-exp5438-hello-world.csc
diff --git a/tools/cooja/contiki_tests/wismote_helloworld.csc b/regression-tests/02-hello-world/06-wismote-hello-world.csc
similarity index 100%
rename from tools/cooja/contiki_tests/wismote_helloworld.csc
rename to regression-tests/02-hello-world/06-wismote-hello-world.csc
diff --git a/tools/cooja/contiki_tests/z1_helloworld.csc b/regression-tests/02-hello-world/07-z1-hello-world.csc
similarity index 100%
rename from tools/cooja/contiki_tests/z1_helloworld.csc
rename to regression-tests/02-hello-world/07-z1-hello-world.csc
diff --git a/tools/cooja/contiki_tests/hello-world.js b/regression-tests/02-hello-world/hello-world.js
similarity index 100%
rename from tools/cooja/contiki_tests/hello-world.js
rename to regression-tests/02-hello-world/hello-world.js
diff --git a/tools/cooja/contiki_tests/multithreading.csc b/regression-tests/03-base/01-multithreading.csc
similarity index 75%
rename from tools/cooja/contiki_tests/multithreading.csc
rename to regression-tests/03-base/01-multithreading.csc
index 079a365f8..9029af9da 100644
--- a/tools/cooja/contiki_tests/multithreading.csc
+++ b/regression-tests/03-base/01-multithreading.csc
@@ -1,135 +1,137 @@
-
-
- ../apps/mrm
- ../apps/mspsim
- ../apps/avrora
- ../apps/native_gateway
-
- My simulation
- 0
- generated
- 1000000
-
- se.sics.cooja.radiomediums.UDGM
- 50.0
- 100.0
- 1.0
- 1.0
-
-
- se.sics.cooja.mspmote.SkyMoteType
- sky1
- Sky Mote Type #1
-
- make clean TARGET=sky
-make multi-threading.sky TARGET=sky
- ../../../examples/multi-threading/multi-threading.sky
- se.sics.cooja.interfaces.Position
- se.sics.cooja.interfaces.IPAddress
- se.sics.cooja.interfaces.Mote2MoteRelations
- se.sics.cooja.mspmote.interfaces.MspClock
- se.sics.cooja.mspmote.interfaces.MspMoteID
- se.sics.cooja.mspmote.interfaces.SkyButton
- se.sics.cooja.mspmote.interfaces.SkyFlash
- se.sics.cooja.mspmote.interfaces.SkyByteRadio
- se.sics.cooja.mspmote.interfaces.SkySerial
- se.sics.cooja.mspmote.interfaces.SkyLED
-
-
- se.sics.cooja.mspmote.SkyMote
- sky1
-
-
- se.sics.cooja.interfaces.Position
- 83.20518861404864
- 11.060511519885651
- 0.0
-
-
- se.sics.cooja.mspmote.interfaces.MspMoteID
- 1
-
-
-
-
- se.sics.cooja.plugins.SimControl
- 265
- 3
- 200
- 0
- 0
- false
-
-
- se.sics.cooja.plugins.Visualizer
-
- 263
- 2
- 292
- 1
- 202
- false
-
-
- se.sics.cooja.plugins.LogListener
-
-
-
- 865
- 0
- 209
- 3
- 701
- false
-
-
- se.sics.cooja.plugins.ScriptRunner
-
-
- true
-
- 600
- 1
- 700
- 267
- 1
- false
-
-
-
+
+
+ [APPS_DIR]/mrm
+ [APPS_DIR]/mspsim
+ [APPS_DIR]/avrora
+ [APPS_DIR]/serial_socket
+ [APPS_DIR]/collect-view
+ [APPS_DIR]/powertracker
+
+ My simulation
+ generated
+ 1000000
+
+ se.sics.cooja.radiomediums.UDGM
+ 50.0
+ 100.0
+ 1.0
+ 1.0
+
+
+ 40000
+
+
+ se.sics.cooja.mspmote.SkyMoteType
+ sky1
+ Sky Mote Type #1
+
+ make clean TARGET=sky
+make multi-threading.sky TARGET=sky
+ [CONTIKI_DIR]/examples/multi-threading/multi-threading.sky
+ se.sics.cooja.interfaces.Position
+ se.sics.cooja.interfaces.IPAddress
+ se.sics.cooja.interfaces.Mote2MoteRelations
+ se.sics.cooja.mspmote.interfaces.MspClock
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ se.sics.cooja.mspmote.interfaces.SkyButton
+ se.sics.cooja.mspmote.interfaces.SkyFlash
+ se.sics.cooja.mspmote.interfaces.Msp802154Radio
+ se.sics.cooja.mspmote.interfaces.MspSerial
+ se.sics.cooja.mspmote.interfaces.SkyLED
+
+
+
+
+ se.sics.cooja.interfaces.Position
+ 83.20518861404864
+ 11.060511519885651
+ 0.0
+
+
+ se.sics.cooja.mspmote.interfaces.MspMoteID
+ 1
+
+ sky1
+
+
+
+ se.sics.cooja.plugins.SimControl
+ 265
+ 3
+ 200
+ 0
+ 0
+
+
+ se.sics.cooja.plugins.Visualizer
+
+ 0.9090909090909091 0.0 0.0 0.9090909090909091 49.35891944177396 108.94498952737668
+
+ 263
+ 2
+ 292
+ 1
+ 202
+
+
+ se.sics.cooja.plugins.LogListener
+
+
+
+
+ 865
+ 0
+ 209
+ 3
+ 701
+
+
+ se.sics.cooja.plugins.ScriptRunner
+
+
+ true
+
+ 600
+ 1
+ 700
+ 267
+ 1
+
+
+
diff --git a/tools/cooja/contiki_tests/sky_coffee.csc b/regression-tests/03-base/02-sky-coffee.csc
similarity index 100%
rename from tools/cooja/contiki_tests/sky_coffee.csc
rename to regression-tests/03-base/02-sky-coffee.csc
diff --git a/tools/cooja/contiki_tests/sky_checkpointing.csc b/regression-tests/03-base/04-sky-checkpointing.csc
similarity index 97%
rename from tools/cooja/contiki_tests/sky_checkpointing.csc
rename to regression-tests/03-base/04-sky-checkpointing.csc
index 55c654f09..9dc98818d 100644
--- a/tools/cooja/contiki_tests/sky_checkpointing.csc
+++ b/regression-tests/03-base/04-sky-checkpointing.csc
@@ -20,10 +20,10 @@
se.sics.cooja.mspmote.SkyMoteType
sky1
Sky Mote Type #1
-
+
make clean TARGET=sky
make sky-checkpoint.sky TARGET=sky
- ../../../examples/sky-shell/sky-checkpoint.sky
+ ../../examples/sky-shell/sky-checkpoint.sky
se.sics.cooja.interfaces.Position
se.sics.cooja.interfaces.IPAddress
se.sics.cooja.interfaces.Mote2MoteRelations
diff --git a/tools/cooja/contiki_tests/crosslevel.csc b/regression-tests/03-base/x03-crosslevel.csc
similarity index 100%
rename from tools/cooja/contiki_tests/crosslevel.csc
rename to regression-tests/03-base/x03-crosslevel.csc
diff --git a/tools/cooja/contiki_tests/rime_collect.csc b/regression-tests/04-rime/01-cooja-collect.csc
similarity index 100%
rename from tools/cooja/contiki_tests/rime_collect.csc
rename to regression-tests/04-rime/01-cooja-collect.csc
diff --git a/tools/cooja/contiki_tests/rime_rucb.csc b/regression-tests/04-rime/02-cooja-rucb.csc
similarity index 98%
rename from tools/cooja/contiki_tests/rime_rucb.csc
rename to regression-tests/04-rime/02-cooja-rucb.csc
index a6bdb9281..a8529ea85 100644
--- a/tools/cooja/contiki_tests/rime_rucb.csc
+++ b/regression-tests/04-rime/02-cooja-rucb.csc
@@ -20,7 +20,7 @@
se.sics.cooja.contikimote.ContikiMoteType
mtype296
Contiki Mote #1
- ../../../examples/rime/example-rucb.c
+ [CONTIKI_DIR]/examples/rime/example-rucb.c
make example-rucb.cooja TARGET=cooja
se.sics.cooja.interfaces.Position
se.sics.cooja.interfaces.Battery
diff --git a/tools/cooja/contiki_tests/rime_abc.csc b/regression-tests/04-rime/03-sky-abc.csc
similarity index 96%
rename from tools/cooja/contiki_tests/rime_abc.csc
rename to regression-tests/04-rime/03-sky-abc.csc
index 87732991f..5c71a54b5 100644
--- a/tools/cooja/contiki_tests/rime_abc.csc
+++ b/regression-tests/04-rime/03-sky-abc.csc
@@ -20,10 +20,10 @@
se.sics.cooja.mspmote.SkyMoteType
sky1
Sky Mote Type #1
-
+
make clean TARGET=sky
make example-abc.sky TARGET=sky
- ../../../examples/rime/example-abc.sky
+ [CONTIKI_DIR]/examples/rime/example-abc.sky
se.sics.cooja.interfaces.Position
se.sics.cooja.interfaces.IPAddress
se.sics.cooja.interfaces.Mote2MoteRelations
diff --git a/tools/cooja/contiki_tests/sky_deluge.csc b/regression-tests/04-rime/04-sky-deluge.csc
similarity index 97%
rename from tools/cooja/contiki_tests/sky_deluge.csc
rename to regression-tests/04-rime/04-sky-deluge.csc
index 69f3a2051..d662b1dec 100644
--- a/tools/cooja/contiki_tests/sky_deluge.csc
+++ b/regression-tests/04-rime/04-sky-deluge.csc
@@ -20,10 +20,10 @@
se.sics.cooja.mspmote.SkyMoteType
sky1
Sky Mote Type #1
-
+
make clean TARGET=sky
make APPS=deluge test-deluge.sky TARGET=sky
- ../../../examples/sky/test-deluge.sky
+ [CONTIKI_DIR]/examples/sky/test-deluge.sky
se.sics.cooja.interfaces.Position
se.sics.cooja.interfaces.IPAddress
se.sics.cooja.interfaces.Mote2MoteRelations
diff --git a/tools/cooja/contiki_tests/rime_runicast.csc b/regression-tests/04-rime/05-sky-runicast.csc
similarity index 97%
rename from tools/cooja/contiki_tests/rime_runicast.csc
rename to regression-tests/04-rime/05-sky-runicast.csc
index 7a707db5d..79b3f0b0b 100644
--- a/tools/cooja/contiki_tests/rime_runicast.csc
+++ b/regression-tests/04-rime/05-sky-runicast.csc
@@ -20,10 +20,10 @@
se.sics.cooja.mspmote.SkyMoteType
sky1
Sky Mote Type #1
-
+
make clean TARGET=sky
make example-runicast.sky TARGET=sky
- ../../../examples/rime/example-runicast.sky
+ [CONTIKI_DIR]/examples/rime/example-runicast.sky
se.sics.cooja.interfaces.Position
se.sics.cooja.interfaces.IPAddress
se.sics.cooja.interfaces.Mote2MoteRelations
diff --git a/tools/cooja/contiki_tests/rime_trickle.csc b/regression-tests/04-rime/06-sky-trickle.csc
similarity index 98%
rename from tools/cooja/contiki_tests/rime_trickle.csc
rename to regression-tests/04-rime/06-sky-trickle.csc
index 6e0c6b71e..926ebece1 100644
--- a/tools/cooja/contiki_tests/rime_trickle.csc
+++ b/regression-tests/04-rime/06-sky-trickle.csc
@@ -20,10 +20,10 @@
se.sics.cooja.mspmote.SkyMoteType
sky1
Sky Mote Type #1
-
+
make clean TARGET=sky
make example-trickle.sky TARGET=sky
- ../../../examples/rime/example-trickle.sky
+ [CONTIKI_DIR]/examples/rime/example-trickle.sky
se.sics.cooja.interfaces.Position
se.sics.cooja.interfaces.IPAddress
se.sics.cooja.interfaces.Mote2MoteRelations
diff --git a/tools/cooja/contiki_tests/sky_collect.csc b/regression-tests/04-rime/07-sky-collect.csc
similarity index 98%
rename from tools/cooja/contiki_tests/sky_collect.csc
rename to regression-tests/04-rime/07-sky-collect.csc
index 03347d675..769c5b494 100644
--- a/tools/cooja/contiki_tests/sky_collect.csc
+++ b/regression-tests/04-rime/07-sky-collect.csc
@@ -20,10 +20,10 @@
se.sics.cooja.mspmote.SkyMoteType
sky1
Sky Mote Type #1
-
+
make clean TARGET=sky
make sky-collect.sky TARGET=sky
- ../../../examples/sky/sky-collect.sky
+ [CONTIKI_DIR]/examples/sky/sky-collect.sky
se.sics.cooja.interfaces.Position
se.sics.cooja.interfaces.IPAddress
se.sics.cooja.interfaces.Mote2MoteRelations
diff --git a/tools/cooja/contiki_tests/rime_collect_sky.csc b/regression-tests/04-rime/08-sky-collect.csc
similarity index 100%
rename from tools/cooja/contiki_tests/rime_collect_sky.csc
rename to regression-tests/04-rime/08-sky-collect.csc
diff --git a/tools/cooja/contiki_tests/netperf-sky.csc b/regression-tests/05-netperf/01-sky-netperf.csc
similarity index 100%
rename from tools/cooja/contiki_tests/netperf-sky.csc
rename to regression-tests/05-netperf/01-sky-netperf.csc
diff --git a/tools/cooja/contiki_tests/netperf-sky-lpp.csc b/regression-tests/05-netperf/02-sky-netperf-lpp.csc
similarity index 100%
rename from tools/cooja/contiki_tests/netperf-sky-lpp.csc
rename to regression-tests/05-netperf/02-sky-netperf-lpp.csc
diff --git a/tools/cooja/contiki_tests/netperf-sky-cxmac.csc b/regression-tests/05-netperf/03-sky-netperf-cxmac.csc
similarity index 100%
rename from tools/cooja/contiki_tests/netperf-sky-cxmac.csc
rename to regression-tests/05-netperf/03-sky-netperf-cxmac.csc
diff --git a/tools/cooja/contiki_tests/sky_shell_compilation_test.csc b/regression-tests/06-shell/01-sky-shell-compile.csc
similarity index 100%
rename from tools/cooja/contiki_tests/sky_shell_compilation_test.csc
rename to regression-tests/06-shell/01-sky-shell-compile.csc
diff --git a/tools/cooja/contiki_tests/sky_shell_basic_commands.csc b/regression-tests/06-shell/02-sky-shell-basic-commands.csc
similarity index 100%
rename from tools/cooja/contiki_tests/sky_shell_basic_commands.csc
rename to regression-tests/06-shell/02-sky-shell-basic-commands.csc
diff --git a/tools/cooja/contiki_tests/sky_shell_sendcmd.csc b/regression-tests/06-shell/03-sky-shell-sendcmd.csc
similarity index 100%
rename from tools/cooja/contiki_tests/sky_shell_sendcmd.csc
rename to regression-tests/06-shell/03-sky-shell-sendcmd.csc
diff --git a/tools/cooja/contiki_tests/sky_shell_download.csc b/regression-tests/06-shell/04-sky-shell-download.csc
similarity index 100%
rename from tools/cooja/contiki_tests/sky_shell_download.csc
rename to regression-tests/06-shell/04-sky-shell-download.csc
diff --git a/tools/cooja/contiki_tests/sky_shell_exec_serial.csc b/regression-tests/07-elfloader/01-sky-shell-exec-serial.csc
similarity index 98%
rename from tools/cooja/contiki_tests/sky_shell_exec_serial.csc
rename to regression-tests/07-elfloader/01-sky-shell-exec-serial.csc
index 795578ed3..2c160c8e9 100644
--- a/tools/cooja/contiki_tests/sky_shell_exec_serial.csc
+++ b/regression-tests/07-elfloader/01-sky-shell-exec-serial.csc
@@ -94,7 +94,7 @@ make hello-world.ce TARGET=sky SMALL=0