uic-Autotest: Remove SRCDIR-define, add stdout-test.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Thu, 2 Aug 2012 09:02:24 +0000 (11:02 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 2 Aug 2012 18:38:54 +0000 (20:38 +0200)
commit95bba3802b71532b656c277406ee802db099ed2f
treef6784418d43587f25a3e0c16047b94a6fa65539b
parente0b39658318502dc30dcd40c5e2cadadce7d997c
uic-Autotest: Remove SRCDIR-define, add stdout-test.

- Replace SRCDIR define by QFINDTESTDATA, simplify code.
- Introduce a test for stdout mode that verifies the newline
  convention.
- Use a temporary directory as not to clobber the
  test directory and introduce an environment variable
  UIC_KEEP_GENERATED_FILES to keep them for error
  analysis.

Task-number: QTBUG-26730
Change-Id: I22e3bb5a9ca92a1977c29b165ea605f1017baa02
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
tests/auto/tools/uic/generated_ui/placeholder [deleted file]
tests/auto/tools/uic/tst_uic.cpp
tests/auto/tools/uic/uic.pro