diff options
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index d6b2619..a359e3c 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -2392,6 +2392,16 @@ class WindowsTests(BasePlatformTests): for l in cc.ignore_libs: self.assertEqual(cc.find_library(l, env, []), []) + def test_rc_depends_files(self): + testdir = os.path.join(self.platform_test_dir, '5 resources') + self.init(testdir) + self.build() + # Immediately rebuilding should not do anything + self.assertBuildIsNoop() + # Changing mtime of sample.ico should rebuild everything + self.utime(os.path.join(testdir, 'res', 'sample.ico')) + self.assertRebuiltTarget('prog') + class LinuxlikeTests(BasePlatformTests): ''' |