Explorar el Código

Pretty print tests.json

Craig Tiller hace 10 años
padre
commit
f24e7241aa
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      templates/tools/run_tests/tests.json.template
  2. 0 0
      tools/run_tests/tests.json

+ 2 - 1
templates/tools/run_tests/tests.json.template

@@ -4,5 +4,6 @@ import json
 
 ${json.dumps([{"name": tgt.name, "language": tgt.language}
               for tgt in targets
-              if tgt.build == "test" and tgt.name[-5:] == "_test"])}
+              if tgt.build == "test" and tgt.name[-5:] == "_test"],
+             sort_keys=True, indent=4)}
 

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
tools/run_tests/tests.json


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio