Remove unused unit tests

This commit is contained in:
Rodrigo Arias 2023-02-20 19:21:33 +01:00 committed by Rodrigo Arias Mallo
parent 722e32617a
commit 98b698473d
3 changed files with 1 additions and 56 deletions

View File

@ -1,13 +1,7 @@
# Copyright (c) 2022 Barcelona Supercomputing Center (BSC)
# Copyright (c) 2022-2023 Barcelona Supercomputing Center (BSC)
# SPDX-License-Identifier: GPL-3.0-or-later
unit_test(version.c)
#unit_test(task.c)
#unit_test(taskstack.c)
#unit_test(taskstack-bad.c)
#unit_test(taskmodel.c)
#unit_test(tbm.c)
#unit_test(tbm_trace.c)
unit_test(chan.c)
unit_test(bay.c)
#unit_test(bay-hash-speed.c)
@ -15,9 +9,6 @@ unit_test(mux.c)
unit_test(value.c)
unit_test(prv.c)
unit_test(cfg.c)
#unit_test(ovni_model.c)
#unit_test(trace.c)
#unit_test(emu.c)
unit_test(clkoff.c)
unit_test(stream.c)
unit_test(loom.c)

View File

@ -1,32 +0,0 @@
#include "emu/emu.h"
#include "common.h"
int main(void)
{
char *argv[] = {
"ovniemu",
"/home/ram/bsc/ovni/traces/test/ovni",
NULL
};
int argc = 2;
struct emu emu;
if (emu_init(&emu, argc, argv) != 0)
die("emu_init failed\n");
if (emu_connect(&emu) != 0)
die("emu_connect failed\n");
int ret = 0;
while ((ret = emu_step(&emu)) == 0) {
//err("event clock %ld\n", emu.player.deltaclock);
}
if (ret < 0)
die("emu_step failed\n");
return 0;
}

View File

@ -1,14 +0,0 @@
#include "emu/trace.h"
#include "common.h"
int main(void)
{
char *tracedir = "/home/ram/bsc/ovni/traces/test/ovni";
struct trace trace;
if (trace_load(&trace, tracedir) != 0)
die("trace_load failed\n");
return 0;
}