summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2022-06-08 17:31:36 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2022-06-09 22:25:15 +0200
commit61f7f7538cc6abb0be64c35570f38dd2541d7451 (patch)
tree092c97084f191eb502b06740a76658432dada34a /test
parentd9cb571fe126e7e94a52361d733161aa25f23597 (diff)
Add const Settings& to build configuration callbacks.
Diffstat (limited to 'test')
-rw-r--r--test/ctor.cc2
-rw-r--r--test/source_type_test.cc1
-rw-r--r--test/tasks_test.cc5
3 files changed, 3 insertions, 5 deletions
diff --git a/test/ctor.cc b/test/ctor.cc
index 66f20f2..7d7a53c 100644
--- a/test/ctor.cc
+++ b/test/ctor.cc
@@ -5,7 +5,7 @@
namespace
{
-BuildConfigurations ctorTestConfigs()
+BuildConfigurations ctorTestConfigs(const Settings& settings)
{
return
{
diff --git a/test/source_type_test.cc b/test/source_type_test.cc
index 47d820d..ed7e783 100644
--- a/test/source_type_test.cc
+++ b/test/source_type_test.cc
@@ -2,7 +2,6 @@
#include <libctor.h>
#include <task_cc.h>
-#include <settings.h>
std::ostream& operator<<(std::ostream& stream, const Language& lang)
{
diff --git a/test/tasks_test.cc b/test/tasks_test.cc
index a807d32..2e0ffc7 100644
--- a/test/tasks_test.cc
+++ b/test/tasks_test.cc
@@ -2,11 +2,10 @@
#include <libctor.h>
#include <tasks.h>
-#include <settings.h>
namespace
{
-BuildConfigurations ctorTestConfigs1()
+BuildConfigurations ctorTestConfigs1(const Settings&)
{
return
{
@@ -20,7 +19,7 @@ BuildConfigurations ctorTestConfigs1()
};
}
-BuildConfigurations ctorTestConfigs2()
+BuildConfigurations ctorTestConfigs2(const Settings&)
{
return
{