From 6f4ff684605f6a67e0847ed37e6630500776e564 Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Thu, 29 Jun 2023 14:42:53 +0000
Subject: [PATCH] Scripts:

- Added scripts to manually launch interdomain unitary tests
---
 ...tests_locally-interdomain-compute-domains.sh | 17 +++++++++++++++++
 ...s_locally-interdomain-topology-abstractor.sh | 17 +++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100755 scripts/run_tests_locally-interdomain-compute-domains.sh
 create mode 100755 scripts/run_tests_locally-interdomain-topology-abstractor.sh

diff --git a/scripts/run_tests_locally-interdomain-compute-domains.sh b/scripts/run_tests_locally-interdomain-compute-domains.sh
new file mode 100755
index 000000000..09fa4ce7e
--- /dev/null
+++ b/scripts/run_tests_locally-interdomain-compute-domains.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+# Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+source tfs_runtime_env_vars_dom1.sh 
+PYTHONPATH=./src pytest --log-level=INFO --verbose src/interdomain/tests/test_compute_domains.py
diff --git a/scripts/run_tests_locally-interdomain-topology-abstractor.sh b/scripts/run_tests_locally-interdomain-topology-abstractor.sh
new file mode 100755
index 000000000..1e1dc1767
--- /dev/null
+++ b/scripts/run_tests_locally-interdomain-topology-abstractor.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+# Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+source tfs_runtime_env_vars_dom2.sh 
+PYTHONPATH=./src pytest --log-level=INFO --verbose src/interdomain/tests/test_topology_abstractor.py
-- 
GitLab