Merge pull request #11991 from jamesbeyond/integ_fix

TESTS: Fix integration tests
pull/12010/head
Martin Kojtal 2019-12-03 09:04:16 +01:00 committed by GitHub
commit 40cf725c11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 5 deletions

View File

@ -16,9 +16,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "mbed_trace.h"
#define TRACE_GROUP "GRNT"
#define FS_FAT 1 #define FS_FAT 1
#define FS_LFS 2 #define FS_LFS 2

View File

@ -27,7 +27,7 @@
#include "unity/unity.h" #include "unity/unity.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include <string> #include <string>
#include "common_defines_test.h" #include "download_test.h"
#define MAX_THREADS 5 #define MAX_THREADS 5

View File

@ -20,5 +20,9 @@
/* /*
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test * 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); size_t download_test(NetworkInterface *interface, const unsigned char *data, size_t data_length, size_t buff_size, uint32_t thread_id = 0);

View File

@ -24,7 +24,7 @@
#include "mbed.h" #include "mbed.h"
#include "unity/unity.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) void file_test_write(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size)
{ {

View File

@ -20,6 +20,10 @@
/* /*
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test * 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_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); void file_test_read(const char *file, size_t offset, const unsigned char *data, size_t data_length, size_t block_size);