]> git.lizzy.rs Git - rust.git/commitdiff
Fix invalid path in generate-deriving-span-tests.py.
authorCorey Farwell <coreyf@rwell.org>
Sun, 28 Oct 2018 16:12:00 +0000 (12:12 -0400)
committerCorey Farwell <coreyf@rwell.org>
Sun, 28 Oct 2018 16:12:00 +0000 (12:12 -0400)
This script broke after #53196 after the tests were moved.

src/etc/generate-deriving-span-tests.py

index 2e9169ce5b942920c16dc5426003888fd98ec8b7..ba62903b022a798d77b1aa0af3279171f0e0c740 100755 (executable)
@@ -21,7 +21,7 @@ sample usage: src/etc/generate-deriving-span-tests.py
 import sys, os, datetime, stat, re
 
 TEST_DIR = os.path.abspath(
-    os.path.join(os.path.dirname(__file__), '../test/compile-fail'))
+    os.path.join(os.path.dirname(__file__), '../test/ui/derives/'))
 
 YEAR = datetime.datetime.now().year