X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=docs%2FProjects.rst;h=3246e3ff169b4496571ace6d9457fe8e1e64d824;hb=c47adf8db2cbe21f5de0a955b8ef89f177c9ad16;hp=c4be6da5a0694cd0590e244ee9ed73f6d1e59c40;hpb=2e355f6c45e052121217a33b3c24af2864fca6d6;p=oota-llvm.git diff --git a/docs/Projects.rst b/docs/Projects.rst index c4be6da5a06..3246e3ff169 100644 --- a/docs/Projects.rst +++ b/docs/Projects.rst @@ -1,5 +1,3 @@ -.. _projects: - ======================== Creating an LLVM Project ======================== @@ -102,7 +100,7 @@ Follow these simple steps to start your project: ``--prefix=`` Tell your project where it should get installed. -That's it! Now all you have to do is type ``gmake`` (or ``make`` if your on a +That's it! Now all you have to do is type ``gmake`` (or ``make`` if you're on a GNU/Linux system) in the root of your object directory, and your project should build. @@ -153,12 +151,10 @@ Underneath your top level directory, you should have the following directories: Currently, the LLVM build system provides basic support for tests. The LLVM system provides the following: -* LLVM provides a ``tcl`` procedure that is used by ``Dejagnu`` to run tests. - It can be found in ``llvm/lib/llvm-dg.exp``. This test procedure uses ``RUN`` +* LLVM contains regression tests in ``llvm/test``. These tests are run by the + :doc:`Lit ` testing tool. This test procedure uses ``RUN`` lines in the actual test case to determine how to run the test. See the - `TestingGuide `_ for more details. You can easily write - Makefile support similar to the Makefiles in ``llvm/test`` to use ``Dejagnu`` - to run your project's tests. + :doc:`TestingGuide` for more details. * LLVM contains an optional package called ``llvm-test``, which provides benchmarks and programs that are known to compile with the Clang front