Skip to content

Commit ab0983f

Browse files
committed
Update on "make et.export support etrecord generation"
this diff makes et.export etrecord generation supportive. Details can be found in #12925. After this change, all things in #12925 has completed. Differential Revision: [D79741917](https://our.internmc.facebook.com/intern/diff/D79741917/) [ghstack-poisoned]
2 parents 9187fb0 + 3bcc534 commit ab0983f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

export/tests/test_export_session.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ def test_context_propagation_through_pipeline(self) -> None:
184184
"export_recipe",
185185
"session_name",
186186
"artifact_dir",
187+
"generate_etrecord"
187188
}
188189
self.assertEqual(set(session._run_context.keys()), expected_context_keys)
189190
self.assertEqual(session._run_context["session_name"], "test_session")

export/tests/test_export_stages.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ def test_run_success(self, mock_to_edge: Mock) -> None:
307307
self.exported_programs,
308308
constant_methods=None,
309309
compile_config=mock_config,
310+
generate_etrecord=False,
310311
)
311312

312313
# Verify artifacts are set correctly

0 commit comments

Comments
 (0)