Skip to content

Commit

Permalink
Merge pull request #11991 from jamesbeyond/integ_fix
Browse files Browse the repository at this point in the history
TESTS: Fix integration tests
  • Loading branch information
0xc0170 authored Dec 3, 2019
2 parents fc488f6 + 01d3591 commit 40cf725
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 0 additions & 3 deletions TESTS/integration/COMMON/common_defines_fs_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "mbed_trace.h"

#define TRACE_GROUP "GRNT"

#define FS_FAT 1
#define FS_LFS 2
Expand Down
2 changes: 1 addition & 1 deletion TESTS/integration/COMMON/download_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "unity/unity.h"
#include "greentea-client/test_env.h"
#include <string>
#include "common_defines_test.h"
#include "download_test.h"

#define MAX_THREADS 5

Expand Down
4 changes: 4 additions & 0 deletions TESTS/integration/COMMON/download_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@
/*
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
*/

#include "mbed_trace.h"

#define TRACE_GROUP "GRNT"
size_t download_test(NetworkInterface *interface, const unsigned char *data, size_t data_length, size_t buff_size, uint32_t thread_id = 0);

2 changes: 1 addition & 1 deletion TESTS/integration/COMMON/file_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include "mbed.h"
#include "unity/unity.h"
#include "common_defines_test.h"
#include "file_test.h"

void file_test_write(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size)
{
Expand Down
4 changes: 4 additions & 0 deletions TESTS/integration/COMMON/file_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
/*
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
*/
#include "mbed_trace.h"

#define TRACE_GROUP "GRNT"

void file_test_write(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size);

void file_test_read(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size);

0 comments on commit 40cf725

Please sign in to comment.