Skip to content

Commit 18aee0c

Browse files
committed
Enable and update gdb api unit tests
This enables the gdb api unit tests (in memory-analyzer/gdb_api.cpp) and adapts them to include use_catch.h instead of catch.hpp.
1 parent 81c8f63 commit 18aee0c

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

unit/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ SRC += analyses/ai/ai.cpp \
3030
interpreter/interpreter.cpp \
3131
json/json_parser.cpp \
3232
json_symbol_table.cpp \
33+
memory-analyzer/gdb_api.cpp \
3334
path_strategies.cpp \
3435
pointer-analysis/value_set.cpp \
3536
solvers/floatbv/float_utils.cpp \

unit/memory-analyzer/gdb_api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright 2018 Malte Mues
2-
#include <testing-utils/catch.hpp>
2+
#include <testing-utils/use_catch.h>
33

44
#ifdef __linux__
55
// \file Test that the regex expression used work as expected.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
memory-analyzer
2+
testing-utils

unit/module_dependencies.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ goto-programs
77
goto-symex
88
json
99
langapi # should go away
10+
memory-analyzer
1011
solvers/flattening
1112
solvers/floatbv
1213
solvers/miniBDD

0 commit comments

Comments
 (0)