Skip to content

Commit 8470b22

Browse files
committed
Update on "Refactor export_delegated_program"
Currently, we generate every combination of inputs for each module with the export_delegate_program script: - extract_segments=True, False - delegate_alignment=None,1024 Planning to add another flag, 'external_constants', which will move constants into a separate file to test program-data separation for delegated programs. This test only requires pte, ptd, with default settings. So refactoring the export script to only generate based on the args, and update genrule to generate what the test requires. Differential Revision: [D73278562](https://our.internmc.facebook.com/intern/diff/D73278562/) [ghstack-poisoned]
2 parents 7f9d484 + 65766d6 commit 8470b22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/models/export_delegated_program.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# This source code is licensed under the BSD-style license found in the
55
# LICENSE file in the root directory of this source tree.
66

7+
# pyre-unsafe
8+
79
import argparse
810
import inspect
911
import os

0 commit comments

Comments
 (0)