Skip to content

Commit 91bdfec

Browse files
committed
WIP: Add stub for testing .jar manifest
1 parent 6dcf725 commit 91bdfec

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

unittests/linuxliketests.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2013,6 +2013,15 @@ def test_rust_staticlib_rlib_deps(self):
20132013
for param in linker['parameters']:
20142014
self.assertNotIn('liblib.rlib', param)
20152015

2016+
def test_jar_manifest_mtime(self):
2017+
'''
2018+
Test that jar creation can use SOURCE_DATE_EPOCH for mtime
2019+
'''
2020+
testdir = os.path.join(self.java_test_dir, '1 basic')
2021+
self.init(testdir, override_envvars={'SOURCE_DATE_EPOCH': "1770700000"})
2022+
self.build()
2023+
# FIXME check mtime in created .jar file
2024+
20162025
def test_sanitizers(self):
20172026
testdir = os.path.join(self.unit_test_dir, '129 sanitizers')
20182027

0 commit comments

Comments
 (0)