Compare commits
5 Commits
61793f5ffb
..
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| fd0116c1f3 | |||
| a64d3645ba | |||
| 99d7acc8ef | |||
| 18592f3266 | |||
| e68913b1f6 |
@@ -4,9 +4,6 @@ jobs:
|
|||||||
build-images:
|
build-images:
|
||||||
runs-on: host-arch-x86_64
|
runs-on: host-arch-x86_64
|
||||||
steps:
|
steps:
|
||||||
- name: Debug print
|
|
||||||
run: echo '${{ toJson(gitea) }}'
|
|
||||||
|
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
|
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
|
||||||
|
|
||||||
@@ -17,12 +14,9 @@ jobs:
|
|||||||
run-tests:
|
run-tests:
|
||||||
runs-on: host-arch-x86_64
|
runs-on: host-arch-x86_64
|
||||||
needs: build-images
|
needs: build-images
|
||||||
#container: local/alpine-gcc:latest
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
|
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
|
||||||
|
|
||||||
- run: ls -lh test5
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: docker run -it --rm -v ./test5:/app local/alpine-gcc-${{gitea.ref_name}}:latest
|
run: docker run -it --rm -v ./test5:/app local/alpine-gcc-${{gitea.ref_name}}:latest
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ size_t free_counter;
|
|||||||
|
|
||||||
void * TEST_MALLOC(size_t size)
|
void * TEST_MALLOC(size_t size)
|
||||||
{
|
{
|
||||||
printf("malloc'ed %lu\n", size);
|
//printf("malloc'ed %lu\n", size);
|
||||||
|
|
||||||
malloc_counter += size;
|
malloc_counter += size;
|
||||||
return malloc(size);
|
return malloc(size);
|
||||||
@@ -15,7 +15,7 @@ void * TEST_MALLOC(size_t size)
|
|||||||
void TEST_FREE(void *p)
|
void TEST_FREE(void *p)
|
||||||
{
|
{
|
||||||
size_t s = malloc_usable_size(p);
|
size_t s = malloc_usable_size(p);
|
||||||
printf("freed %lu\n", s);
|
//printf("freed %lu\n", s);
|
||||||
|
|
||||||
free_counter += s;
|
free_counter += s;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user