tests: Move to root directory

This commit is contained in:
Alexis Engelke
2021-09-22 13:16:58 +02:00
parent 16c5c64932
commit 204580f480
4 changed files with 2 additions and 11 deletions

View File

@@ -3,7 +3,6 @@
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <time.h>
#include <fadec-enc.h>

View File

@@ -61,7 +61,8 @@ fadec = declare_dependency(link_with: libfadec,
include_directories: include_directories('.'),
sources: instr_data)
subdir('tests')
test('decode', executable('decode-test', 'decode-test.c', dependencies: fadec))
test('encode', executable('encode-test', 'encode-test.c', dependencies: fadec))
install_headers('fadec.h', 'fadec-enc.h')

View File

@@ -1,9 +0,0 @@
decode_test = executable('test_decode', 'test_decode.c',
dependencies: fadec)
test('decode', decode_test)
encode_test = executable('test_encode', 'test_encode.c',
dependencies: fadec,
c_args: ['-D_GNU_SOURCE'])
test('encode', encode_test)