Skip to content

Commit 1e843a3

Browse files
committed
wscript: make APPNAME a local variable in temporal wscript
libs/temporal/wscript only uses APPNAME for convenience for test purposes. It can just be a local variable. Temporal is not so independent that it can be used as a separate waf project with its own APPNAME.
1 parent 50e5e3b commit 1e843a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/temporal/wscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ TEMPORAL_VERSION = "%s.%s.%s" % (MAJOR, MINOR, MICRO)
1414
# micro increment <=> no interface changes
1515
TEMPORAL_LIB_VERSION = '0.0.0'
1616

17-
APPNAME = 'temporal'
1817
I18N_PACKAGE = 'libtemporal'
1918

2019
temporal_sources = [
@@ -101,6 +100,7 @@ def build(bld):
101100
obj.linkflags = ' -lintl'
102101

103102
def test(ctx):
103+
APPNAME = 'temporal'
104104
autowaf.pre_test(ctx, APPNAME)
105105
print(os.getcwd())
106106
os.environ['EVORAL_TEST_PATH'] = os.path.abspath('../test/testdata/')

0 commit comments

Comments
 (0)