From 4c58698c80e0838e4ec7b2e3005bc617cdd120b8 Mon Sep 17 00:00:00 2001 From: Duncan McGreggor Date: Wed, 6 Mar 2024 17:24:59 -0600 Subject: [PATCH] Fixed up tests includes so they can be run from other projects. --- test/ltest-basic-tests.lfe | 2 +- test/ltest-cancelled-tests.lfe | 2 +- test/ltest-fixture-tests.lfe | 2 +- test/ltest-fixturecase-tests.lfe | 2 +- test/ltest-formatter-tests.lfe | 4 ++-- test/ltest-generated-tests.lfe | 2 +- test/ltest-integration-tests.lfe | 2 +- test/ltest-named-tests.lfe | 2 +- test/ltest-skipped-tests.lfe | 2 +- test/ltest-system-tests.lfe | 2 +- test/ltest-testset-tests.lfe | 2 +- test/ltest-util-tests.lfe | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/test/ltest-basic-tests.lfe b/test/ltest-basic-tests.lfe index 1df9645..135cc61 100644 --- a/test/ltest-basic-tests.lfe +++ b/test/ltest-basic-tests.lfe @@ -5,7 +5,7 @@ (check-failed-assert 2) (check-wrong-assert-exception 2)))) -(include-lib "include/ltest-macros.lfe") +(include-lib "ltest/include/ltest-macros.lfe") (deftest is (is 'true) diff --git a/test/ltest-cancelled-tests.lfe b/test/ltest-cancelled-tests.lfe index a237cbf..6c64342 100644 --- a/test/ltest-cancelled-tests.lfe +++ b/test/ltest-cancelled-tests.lfe @@ -10,7 +10,7 @@ (defmodule ltest-cancelled-tests (behaviour ltest-unit)) -(include-lib "include/ltest-macros.lfe") +(include-lib "ltest/include/ltest-macros.lfe") (defun set-up () 'ok) diff --git a/test/ltest-fixture-tests.lfe b/test/ltest-fixture-tests.lfe index 2dd3f1c..29dabe7 100644 --- a/test/ltest-fixture-tests.lfe +++ b/test/ltest-fixture-tests.lfe @@ -1,7 +1,7 @@ (defmodule ltest-fixture-tests (behaviour ltest-unit)) -(include-lib "include/ltest-macros.lfe") +(include-lib "ltest/include/ltest-macros.lfe") (defun set-up () 'ok) diff --git a/test/ltest-fixturecase-tests.lfe b/test/ltest-fixturecase-tests.lfe index 7da7888..b38cca7 100644 --- a/test/ltest-fixturecase-tests.lfe +++ b/test/ltest-fixturecase-tests.lfe @@ -1,7 +1,7 @@ (defmodule ltest-fixturecase-tests (behaviour ltest-unit)) -(include-lib "include/ltest-macros.lfe") +(include-lib "ltest/include/ltest-macros.lfe") (defun set-up () 'ok) diff --git a/test/ltest-formatter-tests.lfe b/test/ltest-formatter-tests.lfe index 513be11..1176f55 100644 --- a/test/ltest-formatter-tests.lfe +++ b/test/ltest-formatter-tests.lfe @@ -1,8 +1,8 @@ (defmodule ltest-formatter-tests (behaviour ltest-unit)) -(include-lib "include/ltest-macros.lfe") -(include-lib "include/ltest-records.lfe") +(include-lib "ltest/include/ltest-macros.lfe") +(include-lib "ltest/include/ltest-records.lfe") (defun test-file () "_build/test/lib/ltest/ebin/ltest-util.beam") diff --git a/test/ltest-generated-tests.lfe b/test/ltest-generated-tests.lfe index 92c8f75..9dfd076 100644 --- a/test/ltest-generated-tests.lfe +++ b/test/ltest-generated-tests.lfe @@ -1,7 +1,7 @@ (defmodule ltest-generated-tests (behaviour ltest-unit)) -(include-lib "include/ltest-macros.lfe") +(include-lib "ltest/include/ltest-macros.lfe") (deftestgen is* (is* 'true)) diff --git a/test/ltest-integration-tests.lfe b/test/ltest-integration-tests.lfe index cefe6ff..8b72cc3 100644 --- a/test/ltest-integration-tests.lfe +++ b/test/ltest-integration-tests.lfe @@ -2,7 +2,7 @@ (behaviour ltest-integration) (export all)) -(include-lib "include/ltest-macros.lfe") +(include-lib "ltest/include/ltest-macros.lfe") (deftest testing-behaviour-use-true (is 'true)) diff --git a/test/ltest-named-tests.lfe b/test/ltest-named-tests.lfe index 2e3d6ca..154c65e 100644 --- a/test/ltest-named-tests.lfe +++ b/test/ltest-named-tests.lfe @@ -4,7 +4,7 @@ (from ltest (check-failed-assert 2)))) -(include-lib "include/ltest-macros.lfe") +(include-lib "ltest/include/ltest-macros.lfe") (deftest named-is (tuple '"Testing the 'is' assertion macro." diff --git a/test/ltest-skipped-tests.lfe b/test/ltest-skipped-tests.lfe index 6b202a1..0750d16 100644 --- a/test/ltest-skipped-tests.lfe +++ b/test/ltest-skipped-tests.lfe @@ -2,7 +2,7 @@ (behaviour ltest-unit) (export all)) -(include-lib "include/ltest-macros.lfe") +(include-lib "ltest/include/ltest-macros.lfe") (deftestskip bogus-test-will-be-skipped (is 'true) diff --git a/test/ltest-system-tests.lfe b/test/ltest-system-tests.lfe index f6999f3..734ab06 100644 --- a/test/ltest-system-tests.lfe +++ b/test/ltest-system-tests.lfe @@ -2,7 +2,7 @@ (behaviour ltest-system) (export all)) -(include-lib "include/ltest-macros.lfe") +(include-lib "ltest/include/ltest-macros.lfe") (deftest testing-behaviour-use-true (is 'true)) diff --git a/test/ltest-testset-tests.lfe b/test/ltest-testset-tests.lfe index 20e24fd..44d44cb 100644 --- a/test/ltest-testset-tests.lfe +++ b/test/ltest-testset-tests.lfe @@ -4,7 +4,7 @@ (from ltest (check-failed-assert 2)))) -(include-lib "include/ltest-macros.lfe") +(include-lib "ltest/include/ltest-macros.lfe") (deftest testset-with-one `[,(is 'true)]) diff --git a/test/ltest-util-tests.lfe b/test/ltest-util-tests.lfe index 91a575f..3a6c530 100644 --- a/test/ltest-util-tests.lfe +++ b/test/ltest-util-tests.lfe @@ -1,7 +1,7 @@ (defmodule ltest-util-tests (behaviour ltest-unit)) -(include-lib "include/ltest-macros.lfe") +(include-lib "ltest/include/ltest-macros.lfe") (defun test-file () "_build/test/lib/ltest/ebin/ltest-util.beam")