Skip to content

Commit

Permalink
[tests] updates to spec.js files
Browse files Browse the repository at this point in the history
  • Loading branch information
technobly committed Sep 4, 2024
1 parent b655a34 commit 744da14
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
suite('I2C MASTER SLAVE');

platform('p2','argon');
platform('gen3', 'gen4');
systemThread('enabled');

fixture('i2c_slave', 'i2c_master');
Expand Down
2 changes: 1 addition & 1 deletion user/tests/wiring/sleep20/sleep20.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
suite('SLEEP 2.0');

platform('p2','argon');
platform('gen3', 'gen4');
systemThread('enabled');
timeout(15 * 60 * 1000);

Expand Down
6 changes: 3 additions & 3 deletions user/tests/wiring/spi_master_slave/spi_master_slave.spec.bak2
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
suite('SPI MASTER SLAVE');

platform('p2','argon');
platform('gen3', 'gen4');
systemThread('enabled');
timeout(20 * 60 * 1000);

// FIXME: currently no way to define multiple fixture configurations within a test suite
// fixture('spi_master', 'spi1_slave'); // use with spi_master_slave_1_bw.config.js and spi_master_slave_2_bw.config.js
fixture('spi1_master', 'spi1_slave'); // use with spi_master_slave_3_bw.config.js
// fixture('spi1_slave', 'spi_master'); // use with spi_master_slave_1_bw.config.js and spi_master_slave_2_bw.config.js
fixture('spi1_slave', 'spi1_master'); // use with spi_master_slave_3_bw.config.js

// This tag should be filtered out by default
tag('fixture');
6 changes: 3 additions & 3 deletions user/tests/wiring/spi_master_slave/spi_master_slave.spec.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
suite('SPI MASTER SLAVE');

platform('p2','argon');
platform('gen3', 'gen4');
systemThread('enabled');
timeout(20 * 60 * 1000);

// FIXME: currently no way to define multiple fixture configurations within a test suite
fixture('spi_master', 'spi1_slave'); // use with spi_master_slave_1_bw.config.js and spi_master_slave_2_bw.config.js
// fixture('spi1_master', 'spi1_slave'); // use with spi_master_slave_3_bw.config.js
fixture('spi1_slave', 'spi_master'); // use with spi_master_slave_1_bw.config.js and spi_master_slave_2_bw.config.js
// fixture('spi1_slave', 'spi1_master'); // use with spi_master_slave_3_bw.config.js

// This tag should be filtered out by default
tag('fixture');

0 comments on commit 744da14

Please sign in to comment.