diff options
author | Linus Nordberg <linus@nordu.net> | 2015-09-24 16:48:36 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2015-09-24 16:48:36 +0200 |
commit | 9c7442d0b203ef68f03cf3962d88e7fe8c0611f3 (patch) | |
tree | c7754392fe5d503817b493e61a68ccf00e628942 /tools | |
parent | 37cab78a89a4e6f7ec29c1cde1e68dfc5c46bd9d (diff) |
Add ERLANGNODES to (generated) test.mk.
merge-1 is a NODE but doesn't have an erl(1) instance.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/compileconfig.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/compileconfig.py b/tools/compileconfig.py index 552f3b8..cac1be6 100755 --- a/tools/compileconfig.py +++ b/tools/compileconfig.py @@ -336,6 +336,8 @@ def gen_testmakefile(config, testmakefile, machines): storagenodenames = [node["name"] for node in config["storagenodes"]] signingnodenames = [node["name"] for node in config["signingnodes"]] mergenodenames = [node["name"] for node in config["mergenodes"]] + erlangnodenames = frontendnodenames + storagenodenames + signingnodenames + \ + filter(lambda name: name != config["primarymergenode"], mergenodenames) frontendnodeaddresses = [node["publicaddress"] for node in config["frontendnodes"]] storagenodeaddresses = [node["address"] for node in config["storagenodes"]] @@ -343,6 +345,7 @@ def gen_testmakefile(config, testmakefile, machines): mergenodeaddresses = [node["address"] for node in config["mergenodes"] if node["name"] != config["primarymergenode"]] print >>configfile, "NODES=" + " ".join(frontendnodenames+storagenodenames+signingnodenames+mergenodenames) + print >>configfile, "ERLANGNODES=" + " ".join(erlangnodenames) print >>configfile, "MACHINES=" + " ".join([str(e) for e in range(1, machines+1)]) print >>configfile, "TESTURLS=" + " ".join(frontendnodeaddresses+storagenodeaddresses+signingnodeaddresses+mergenodeaddresses) print >>configfile, "BASEURL=" + config["baseurl"] |