Skip to content

Commit c2805b5

Browse files
Qinghao ShiQinghao Shi
authored andcommitted
enable integration test by default
1 parent da9f85b commit c2805b5

File tree

7 files changed

+1
-24
lines changed

7 files changed

+1
-24
lines changed

TESTS/integration/COMMON/download_test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
2222
*/
2323

24-
#if INTEGRATION_TESTS
2524

2625
#include "mbed.h"
2726
#include "unity/unity.h"
@@ -212,4 +211,3 @@ size_t download_test(NetworkInterface *interface, const unsigned char *data, siz
212211

213212
return received_bytes;
214213
}
215-
#endif // INTEGRATION_TESTS

TESTS/integration/COMMON/file_test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
/*
2121
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
2222
*/
23-
#if INTEGRATION_TESTS
2423

2524
#include "mbed.h"
2625
#include "unity/unity.h"
@@ -105,4 +104,3 @@ void file_test_read(const char *file, size_t offset, const unsigned char *data,
105104
float(data_length) / 1024, float(data_length) / timer.read() / 1024, timer.read());
106105
}
107106

108-
#endif //#if INTEGRATION_TESTS

TESTS/integration/fs-single/main.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
2222
*/
2323

24-
#if !INTEGRATION_TESTS
25-
#error [NOT_SUPPORTED] integration tests not enabled for this target
26-
#else
2724

2825
#include "mbed.h"
2926
#include "FATFileSystem.h"
@@ -162,4 +159,4 @@ int main()
162159

163160
return !Harness::run(specification);
164161
}
165-
#endif // !INTEGRATION_TESTS
162+

TESTS/integration/fs-threaded/main.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
2222
*/
2323

24-
#if !INTEGRATION_TESTS
25-
#error [NOT_SUPPORTED] integration tests not enabled for this target
26-
#else
2724

2825
#include "mbed.h"
2926
#include "FATFileSystem.h"
@@ -181,4 +178,3 @@ int main()
181178

182179
return !Harness::run(specification);
183180
}
184-
#endif // !INTEGRATION_TESTS

TESTS/integration/net-single/main.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
2222
*/
2323

24-
#if !INTEGRATION_TESTS
25-
#error [NOT_SUPPORTED] integration tests not enabled for this target
26-
#else
2724

2825
#include "mbed.h"
2926
#include "utest/utest.h"
@@ -139,4 +136,3 @@ int main()
139136

140137
return !Harness::run(specification);
141138
}
142-
#endif // !INTEGRATION_TESTS

TESTS/integration/net-threaded/main.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
2222
*/
2323

24-
#if !INTEGRATION_TESTS
25-
#error [NOT_SUPPORTED] integration tests not enabled for this target
26-
#else
2724

2825
#include "mbed.h"
2926
#include "utest/utest.h"
@@ -173,4 +170,3 @@ int main()
173170

174171
return !Harness::run(specification);
175172
}
176-
#endif // !INTEGRATION_TESTS

TESTS/integration/stress-net-fs/main.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
2222
*/
2323

24-
#if !INTEGRATION_TESTS
25-
#error [NOT_SUPPORTED] integration tests not enabled for this target
26-
#else
2724

2825
#include "mbed.h"
2926
#include "FATFileSystem.h"
@@ -245,4 +242,3 @@ int main()
245242

246243
return !Harness::run(specification);
247244
}
248-
#endif // !INTEGRATION_TESTS

0 commit comments

Comments
 (0)