Line data Source code
1 : /* Copyright 2017 noseglasses <shinynoseglasses@gmail.com>
2 : *
3 : * This program is free software: you can redistribute it and/or modify
4 : * it under the terms of the GNU Lesser General Public License as published by
5 : * the Free Software Foundation, either version 3 of the License, or
6 : * (at your option) any later version.
7 : *
8 : * This program is distributed in the hope that it will be useful,
9 : * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 : * GNU Lesser General Public License for more details.
12 : *
13 : * You should have received a copy of the GNU Lesser General Public License
14 : * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 : */
16 :
17 : #include "papageno_char_strings.h"
18 :
19 : #include "/home/travis/build/noseglasses/papageno/testing/char_strings/test_large_systems_includes.h"
20 :
21 : #include "/home/travis/build/noseglasses/papageno/build/debug/testing/char_strings/test_large_systems_compress_build_executable_compressed_code.h"
22 :
23 : #include "/home/travis/build/noseglasses/papageno/testing/char_strings/default_layers.h"
24 :
25 1 : PPG_CS_START_TEST
26 :
27 : #ifdef PPG_CS_COMPRESS_CONTEXT
28 :
29 : PPG_LOGGING_SET_ENABLED(false)
30 :
31 : // This assignment serves just to silence an unused variable
32 : // warning
33 : //
34 : automatically_reset_testing_system = false;
35 : (void)automatically_reset_testing_system;
36 : PPG_CS_INIT_COMPRESSION(ccontext)
37 :
38 : #endif
39 :
40 : #include "/home/travis/build/noseglasses/papageno/testing/char_strings/test_large_systems_actions.h"
41 :
42 : #ifdef PPG_CS_READ_COMPRESSED_CONTEXT
43 1 : PPG_INITIALIZE_CONTEXT_test
44 1 : PPG_LOGGING_SET_ENABLED(true)
45 : #else
46 :
47 : #include "/home/travis/build/noseglasses/papageno/testing/char_strings/test_large_systems_token_tree.h"
48 :
49 : ppg_cs_compile();
50 : #endif // PPG_CS_READ_COMPRESSED_CONTEXT
51 :
52 : #ifdef PPG_CS_COMPRESS_CONTEXT
53 : ppg_compression_run(ccontext, "test");
54 : #endif
55 :
56 : #ifndef PPG_CS_SUPPRESS_TESTS
57 :
58 : #include "/home/travis/build/noseglasses/papageno/testing/char_strings/default_tests.h"
59 :
60 : #endif // ifndef PPG_CS_SUPPRESS_TESTS
61 :
62 : #ifdef PPG_CS_COMPRESS_CONTEXT
63 : ppg_compression_finalize(ccontext);
64 : #endif
65 :
66 1 : PPG_CS_END_TEST
|