Skip to content

Commit 17f04fd

Browse files
committed
Support variable $(FRAMEWORK) in test run conditions
1 parent 3293f7e commit 17f04fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Src/IronPythonTest/Cases/CaseGenerator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ private bool EvaluateExpression(string expression) {
108108
string filter = expression;
109109
var replacements = new OrderedDictionary() {
110110
// variables
111+
{ "$(FRAMEWORK)", IronPython.Runtime.ClrModule.TargetFramework },
111112
{ "$(IS_NETCOREAPP)", IronPython.Runtime.ClrModule.IsNetCoreApp.ToString() },
112113
{ "$(IS_NETSTANDARD)", IronPython.Runtime.ClrModule.TargetFramework.StartsWith(".NETStandard", StringComparison.Ordinal).ToString() },
113114
{ "$(IS_MONO)", IronPython.Runtime.ClrModule.IsMono.ToString() },

0 commit comments

Comments
 (0)