Commit Graph

227 Commits

Author SHA1 Message Date
Joe Green
bd5a0ef36f Jg jenkinsfile cleanup (#75)
* Update Jenkinsfile

make sure we don't ship unneeded build files

* Update ExampleDocumentTests.coffee

* use node 6.11.2 in jenkins file
2017-09-28 11:50:33 +01:00
Brian Gough
f11468b595 remove stat test for missing files 2017-09-26 09:48:09 +01:00
Brian Gough
eaa99c7274 fix unit tests for use of fs-extra 2017-09-25 15:28:31 +01:00
Brian Gough
b0f879d652 lock compile directory 2017-09-22 16:19:33 +01:00
Brian Gough
8305268848 unit tests for ResourceStateManager 2017-09-15 13:42:57 +01:00
Brian Gough
2af05030f2 Merge pull request #71 from sharelatex/bg-merge-state-and-resource-list-files
merge state and resource list files
2017-09-11 08:54:30 +01:00
Joe Green
d04f93855b Add jenkinsfile (#72)
* create Jenkinsfile

* allow textlive image to be set with env vars

* log error message in test

* use sandboxed compiles variables

* Add SANDBOXED_COMPILES_HOST_DIR var to test config

* add SIBLING_CONTAINER_USER env var
2017-09-08 14:06:04 +01:00
Brian Gough
a2c97e6f9a rename saveProjectStateHash to saveProjectState 2017-09-08 13:56:40 +01:00
Brian Gough
acab9d45a0 log any missing files 2017-09-07 16:54:09 +01:00
Brian Gough
97d7d76e61 combine the resource state and resource list
to prevent them getting out of sync
2017-09-07 13:52:34 +01:00
Brian Gough
6921cf25b8 splice state management into ResourceStateManager 2017-08-18 10:22:17 +01:00
Brian Gough
e8064f12a1 finish unit test for incremental update 2017-08-18 09:41:43 +01:00
Brian Gough
e4aad90f33 ResourceWriter unit tests (wip) 2017-08-17 16:59:37 +01:00
Brian Gough
a8aaf58e64 test syncType in RequestParser 2017-08-17 15:57:05 +01:00
Brian Gough
2b610030d5 store the resource list in a file 2017-08-17 14:53:35 +01:00
Brian Gough
00ddfdf42b fix unit tests 2017-08-09 15:22:44 +01:00
Brian Gough
206adc2d04 fix broken unit tests 2017-08-07 15:00:16 +01:00
Brian Gough
11cd569ed9 stub out unwanted dependency in unit tests 2017-07-18 11:30:22 +01:00
Brian Gough
472531f617 fix exception for empty content in TikzManager 2017-07-18 11:29:59 +01:00
Brian Gough
ea34a1a89d update acceptance test images for texlive 2017 2017-07-13 13:15:51 +01:00
Brian Gough
2e91f07014 update acceptance tests settings to 2017 image 2017-07-12 16:59:33 +01:00
Shane Kilkelly
8e2584bab4 Mock out logger in tests 2017-06-20 08:25:50 +01:00
Brian Gough
aafa691119 check file exists before running synctex 2017-05-24 10:09:43 +01:00
Brian Gough
e1b44beb3f use pdfinfo on output to ensure pdfs are optimised
needed to check that qpdf runs correctly inside the docker container
2017-04-07 11:11:27 +01:00
Brian Gough
eb1364f249 check if file is optimised before running qpdf 2017-04-04 16:50:06 +01:00
Brian Gough
19dfaa7d55 Merge pull request #53 from sharelatex/bg-sanitise-paths
additional check for valid rootResource
2017-03-21 13:39:27 +00:00
Brian Gough
7ccc9500ed check for \tikzexternalize directly
instead of \usepackage{tikz} and \usepackage{pgf}
2017-03-21 11:36:08 +00:00
Brian Gough
750576d1b0 fix path match 2017-03-21 11:30:32 +00:00
Brian Gough
021d848819 create separate function for path checking 2017-03-21 11:29:37 +00:00
Brian Gough
8803762081 support for tikz externalize
make copy of main file as output.tex for tikz externalize
2017-03-20 10:55:28 +00:00
Brian Gough
5af137f60b additional check for valid rootResource 2017-03-20 10:03:48 +00:00
Brian Gough
f059948e27 update xelatex acceptance test pdf 2017-03-08 11:49:21 +00:00
Brian Gough
7a7c2ee992 improve debugging of failed acceptance tests
use the example name in the output filename
2017-03-08 11:49:12 +00:00
Brian Gough
efe5e22b4c include otf extension in fontawesome test 2017-03-08 11:25:25 +00:00
Shane Kilkelly
a0969ec839 Don't compile acceptance test files during test run 2017-03-06 14:43:14 +00:00
Brian Gough
29594fd0f7 fix acceptance test config file for latex prefix
latex command prefix was in wrong scope
2017-02-21 09:37:05 +00:00
Brian Gough
a50582fd7c add fontawesome acceptance test for xelatex 2017-02-21 09:37:05 +00:00
Brian Gough
071b2269b3 update acceptance tests for reversion to dvipdf 2017-02-13 13:42:44 +00:00
Brian Gough
fde8149579 fix #! in test script 2017-02-09 15:38:25 +00:00
Brian Gough
6b7e33bbc6 show debug info for acceptance tests 2017-02-09 14:17:38 +00:00
Brian Gough
2898a82de8 update acceptance test output for fontawesome 2017-02-07 11:51:21 +00:00
Brian Gough
5b71b849ca added fontawesome acceptance test 2017-02-07 10:00:41 +00:00
Brian Gough
6cb5926c21 fix lualatex require 2017-02-07 08:59:45 +00:00
Brian Gough
3cffb61c74 add luatex85 package to tikz feynman test 2017-02-07 08:49:19 +00:00
Brian Gough
5705455ce1 added acceptance test for tikz-feynman 2017-02-07 08:12:47 +00:00
Brian Gough
71fb15e0ee update knitr_utf acceptance test output
needs to include table of contents from multiple latexmk runs
2017-02-06 16:27:47 +00:00
Brian Gough
819c642b8d add knitr utf8 acceptance test 2017-02-03 15:38:06 +00:00
Brian Gough
20cb52793d add acceptance test for hebrew 2017-02-03 15:16:47 +00:00
Brian Gough
e507bd6394 update acceptance test image for lualatex
small pixel-level change in output
2017-01-31 16:04:59 +00:00
Brian Gough
444b3586a7 increase debugging in acceptance tests 2017-01-31 10:47:49 +00:00