Skip to content

Commit 07076bc

Browse files
Ensure current folder uploads correctly. Silence build errors when running specific tests.
1 parent be8bc27 commit 07076bc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

testing/bin/coverage

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def save_cobertura_site():
101101
execute('mkdir -p testing/cobertura-history')
102102
today = datetime.date.today()
103103
execute('cp -r driver-core/target/site/cobertura testing/cobertura-history/cobertura-%s' % today)
104+
execute('rm -rf testing/cobertura-history/current')
104105
execute('cp -r driver-core/target/site/cobertura testing/cobertura-history/current')
105106

106107
def main():
@@ -122,7 +123,7 @@ def main():
122123

123124
if args.test:
124125
# Run against a single mvn test
125-
execute('%s -Dmaven.test.failure.ignore=true -Dtest=%s' % (cobertura_build_command, args.test))
126+
execute('%s -Dmaven.test.failure.ignore=true -DfailIfNoTests=false -Dtest=%s' % (cobertura_build_command, args.test))
126127
else:
127128
# Run against the entire integration suite
128129
execute('%s' % cobertura_build_command)

0 commit comments

Comments
 (0)