lyx_mirror/development/lyx-tester/README.md
Scott Kostyshak 6cc9638dc2 Initial commit of lyx-tester
These scripts help with building and testing LyX, mostly with the
ctest framework.

"lyxbuild" is a build script that has different options (e.g., to
compile with Clang/GCC, Qt 5/6, CMake/autotools). The build script
also has an option to cherry-pick compiler fixes which make it
easier to build older commits on newer compiler versions (useful
when performing a "git bisect"). See "lyxbuild --help" for more
information.

The previous home of lyx-tester was:

  https://gitlab.com/scottkosty/lyx-tester
2024-11-18 16:20:40 +01:00

44 lines
1.3 KiB
Markdown

# install-tl-ubuntu
## Usage
```s
sudo ./lyx-tester
```
## Description
These scripts help with testing LyX. The main idea is that
you can clone this repo into a fresh Ubuntu install (e.g. in a
virtual box) and run all LyX tests with just one command. This
script does the following:
- git clones and compiles the LyX master branch
- installs the dependencies needed to run the tests (e.g. R, knitr,
LilyPond, DocBook)
- installs language dependencies (Hebrew and Chinese fonts)
- runs install-tl-ubuntu (see below)
- runs all of the tests (tex2lyx, autotests, and export tests)
lyx-tester runs [install-tl-ubuntu](https://github.com/scottkosty/install-tl-ubuntu), which does the following:
- a full installation of the latest release of TeX Live.
- notifies apt so that apt does not try to install the Ubuntu
texlive-* packages as dependencies (e.g. if you do 'sudo apt-get
install lyx')
- installs (optionally) all of the LaTeX files that LyX templates and
examples depend on
- links to the folder where Ubuntu installs TeX files so that when you
install packages with LaTeX (e.g. FoilTeX and noweb), they will be
available.
Finally, the script ssh-lyx-tester dispatches lyx-tester to an
ssh-server. I use this with Amazon's EC2. All one has to do is run the
following
./ssh-lyx-tester <key-location> <server>
## Authors
Scott Kostyshak
Kornel Benko