Skip to content

Commit afae4ed

Browse files
committed
updating directory path
1 parent e490986 commit afae4ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/scripts/codegen/smoke_tests_gen.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
import subprocess
1313
from typing import List
1414

15-
SMITHY_GENERATOR_LOCATION = "../code-generation/smithy/codegen"
15+
SMITHY_GENERATOR_LOCATION = "tools/code-generation/smithy/codegen"
1616
SMITHY_OUTPUT_DIR = "codegen_output"
17-
SMITHY_TO_C2J_MAP_FILE = "../code-generation/smithy/codegen/smithy2c2j_service_map.json"
17+
SMITHY_TO_C2J_MAP_FILE = "tools/code-generation/smithy/codegen/smithy2c2j_service_map.json"
1818

1919

2020
class SmokeTestsGen(object):
@@ -47,9 +47,9 @@ def generate(self, clients_to_build: set):
4747
print(f"Running code generator for smoke-tests for services:"+",".join(smithy_services))
4848
if self._generate_smoke_tests(smithy_services, json.dumps(self.smithy_c2j_data)):
4949
# move the output to generated folder
50-
self._copy_cpp_codegen_contents(os.path.abspath("../code-generation/smithy/codegen"),
50+
self._copy_cpp_codegen_contents(os.path.abspath("tools/code-generation/smithy/codegen"),
5151
"cpp-codegen-smoke-tests-plugin",
52-
os.path.abspath("../../generated/smoke-tests"))
52+
os.path.abspath("generated/smoke-tests"))
5353
return 0
5454
else:
5555
return -1

0 commit comments

Comments
 (0)