Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TESTS: Fix integration tests #11991

Merged
merged 2 commits into from
Dec 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);