Aegisub/aegisub/automation/tests/trace-level-test.lua
Amar Takhar 91d73ec8ea SVN Transition Step 3/7
1. cd aegisub/
  2. svn mv *cpp *h src/
  3. svn mv Makefile.am MatroskaParser.c auto4_perldata.inc bitmaps boost \
     changelog.txt config gl include libosxutil libresrc md5.c msvc mythes.cxx \
     mythes.hxx res.rc src/
  4. cd ..
  5. svn mv FFmpegSource2/ INSTALL Makefile.am README  acinclude.m4 \
     autogen.sh automation/ bin build configure.in desktop dummy.txt lib \
     libass/ m4macros/ packages/ po/ scripts/ universalchardet/ aegisub/
  6. mkdir -p docs/wiki_convert
  7. svn add docs/wiki_convert
  8. cd docs
  9. svn mv aegisub_convert_docs.pl convert.bat output wiki_convert/

* See r2749 for full description.

Originally committed to SVN as r2752.
2009-03-08 08:30:39 +00:00

17 lines
565 B
Lua

script_name = "Automation 4 test 9"
script_description = "Test debug out function"
script_author = "Niels Martin Hansen"
script_version = "2"
function test9(subtitles, selected_lines, active_line)
aegisub.debug.out("Only string argument\n")
aegisub.debug.out("Hello %s!\n", "format string world")
aegisub.log("Now going to log 7 strings with trace levels 0 to 6:\n")
for i = 0, 6 do
aegisub.log(i, "Trace level %d...\n", i)
end
aegisub.debug.out(3, "Finished!")
end
aegisub.register_macro("Test debug out", "Tests the aegisub.debug.out function", test9)