Skip to content

Commit

Permalink
Merge pull request #77 from jajanusz/test-flags-fix-warnings
Browse files Browse the repository at this point in the history
test: fix CFLAGS and LDFLAGS warnings
  • Loading branch information
lgirdwood committed Jul 10, 2018
2 parents a48cedd + de100b7 commit 3debb9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/cmocka/Makefile.am
Expand Up @@ -6,10 +6,12 @@ if BUILD_XTENSA
LOG_COMPILER = xt-run
endif

AM_CFLAGS = \
override AM_CFLAGS := \
$(filter-out -nostdlib,$(AM_CFLAGS)) \
$(SOF_INCDIR)

AM_LDFLAGS =
override AM_LDFLAGS := \
$(filter-out -nostdlib,$(AM_LDFLAGS))

if HAVE_CMOCKA_PREFIX
AM_CFLAGS += -I$(CMOCKA_PREFIX)/include
Expand All @@ -26,9 +28,6 @@ if BUILD_HOST
AM_CFLAGS += -I../../src/arch/host/include
endif

CFLAGS := $(filter-out -nostdlib,$(CFLAGS))
LDFLAGS := $(filter-out -nostdlib,$(LDFLAGS))

LDADD = -lcmocka

# memory allocator test
Expand Down
3 changes: 3 additions & 0 deletions test/cmocka/src/lib/alloc/mock.c
Expand Up @@ -26,6 +26,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* Author: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
* Janusz Jankowski <janusz.jankowski@linux.intel.com>
*/

#include <stdint.h>
Expand All @@ -38,11 +39,13 @@ struct dma_sg_config;
int dma_copy_from_host(struct dma_copy *dc, struct dma_sg_config *host_sg,
int32_t host_offset, void *local_ptr, int32_t size)
{
return 0;
}

int dma_copy_to_host(struct dma_copy *dc, struct dma_sg_config *host_sg,
int32_t host_offset, void *local_ptr, int32_t size)
{
return 0;
}

void _trace_event_mbox_atomic(uint32_t e)
Expand Down

1 comment on commit 3debb9e

@mengdonglin
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Building failure observed by SOF CI.

SUMMARY

stage: build
result: FAILED
Successful Platform: None
Failed Platform: baytrail apollolake cannonlake trigger commit: SOF Firmware

SOF Firmware COMMIT

branch : sof/master
commit : 3debb9e
subject: wsBcBAABCAAQBQJbRRYoCRBK7hj4Ov3rIwAAdHIIAIML9uRtin4utyXjpWHb+UFE
date : 2018-07-11 04:25:12 +0800
author : Liam Girdwood lgirdwood@gmail.com

SOF Topology COMMIT

branch : soft/master
commit : 764f953
subject: wsBcBAABCAAQBQJbQ+DvCRBK7hj4Ov3rIwAAdHIIAGTmNxaQquACtzJ+CzFYW3k7
date : 2018-07-10 06:25:51 +0800
author : Liam Girdwood lgirdwood@gmail.com

DETAILS

Platform: baytrail FAIL
Logs for Debug:
stdout: http://bee.sh.intel.com/~lkp//result/build-sof/baytrail/3debb9e20f74e64c558c0913c94924a09041885f/764f9536cdb196d46f653f542a18d43c0fc2fd1d/0/stdout
stderr: http://bee.sh.intel.com/~lkp//result/build-sof/baytrail/3debb9e20f74e64c558c0913c94924a09041885f/764f9536cdb196d46f653f542a18d43c0fc2fd1d/0/stderr

Platform: apollolake FAIL
Logs for Debug:
stdout: http://bee.sh.intel.com/~lkp//result/build-sof/apollolake-up2/3debb9e20f74e64c558c0913c94924a09041885f/764f9536cdb196d46f653f542a18d43c0fc2fd1d/0/stdout
stderr: http://bee.sh.intel.com/~lkp//result/build-sof/apollolake-up2/3debb9e20f74e64c558c0913c94924a09041885f/764f9536cdb196d46f653f542a18d43c0fc2fd1d/0/stderr

Platform: cannonlake FAIL
Logs for Debug:
stdout: http://bee.sh.intel.com/~lkp//result/build-sof/cannonlake/3debb9e20f74e64c558c0913c94924a09041885f/764f9536cdb196d46f653f542a18d43c0fc2fd1d/0/stdout
stderr: http://bee.sh.intel.com/~lkp//result/build-sof/cannonlake/3debb9e20f74e64c558c0913c94924a09041885f/764f9536cdb196d46f653f542a18d43c0fc2fd1d/0/stderr

Jenkins Info for CI Developers

Check console output at http://bee.sh.intel.com:8080/job/lkp-sof/556/
Logs path: '/result/build-sof/cannonlake/3debb9e20f74e64c558c0913c94924a09041885f/764f9536cdb196d46f653f542a18d43c0fc2fd1d/0'

Please sign in to comment.