Skip to content

Commit

Permalink
Merge pull request #375 from yamacir-kit/test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
yamacir-kit authored Apr 26, 2022
2 parents 30d9559 + 55ed7af commit bb143aa
Show file tree
Hide file tree
Showing 161 changed files with 2,527 additions and 1,577 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
Ubuntu:
runs-on: ${{ matrix.system }}
timeout-minutes: 120
timeout-minutes: 240
env:
CXX: ${{ matrix.compiler }}
strategy:
Expand Down
15 changes: 9 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,19 @@ target_link_libraries(kernel PRIVATE stdc++fs
PRIVATE ${CMAKE_DL_LIBS}
PUBLIC gmp)

set_target_properties(
kernel PROPERTIES OUTPUT_NAME ${PROJECT_NAME} # Rename libkernel => libmeevax
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR})
set_target_properties(kernel PROPERTIES OUTPUT_NAME ${PROJECT_NAME} # Rename libkernel => libmeevax
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR}
LINK_FLAGS_RELEASE -s)

# ---- Target shell ------------------------------------------------------------

add_executable(shell ${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp)

target_link_libraries(shell PRIVATE kernel)

set_target_properties(shell PROPERTIES OUTPUT_NAME ${PROJECT_NAME}) # Rename shell => meevax
set_target_properties(shell PROPERTIES OUTPUT_NAME ${PROJECT_NAME} # Rename shell => meevax
LINK_FLAGS_RELEASE -s)

# ---- CMake Package -----------------------------------------------------------

Expand Down Expand Up @@ -165,16 +166,18 @@ endmacro()
check(abandoned)
check(chibi-basic)
check(er-macro-transformer)
check(identifier)
check(internal-definition)
check(let-syntax)
check(letrec-syntax)
check(low-level-macro-facility)
check(numerical-operations)
check(r4rs)
check(r4rs-appendix)
check(r5rs)
check(r7rs)
check(sicp-1)
check(srfi-8)
check(transformer)

file(GLOB ${PROJECT_NAME}_TEST_CXX ${CMAKE_CURRENT_SOURCE_DIR}/test/*.cpp)
foreach(FILEPATH IN LISTS ${PROJECT_NAME}_TEST_CXX)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ sudo rm -rf /usr/local/share/meevax

| Target Name | Description
|:-------------------|:--
| `all` (default) | Build shared-library `libmeevax.0.3.818.so` and executable `meevax`.
| `all` (default) | Build shared-library `libmeevax.0.3.948.so` and executable `meevax`.
| `test` | Test executable `meevax`.
| `package` | Generate debian package `meevax_0.3.818_amd64.deb`.
| `package` | Generate debian package `meevax_0.3.948_amd64.deb`.
| `install` | Copy files into `/usr/local` __(1)__.
| `install.deb` | `all` + `package` + `sudo apt install <meevax>.deb`
| `safe-install.deb` | `all` + `test` + `package` + `sudo apt install <meevax>.deb`
Expand All @@ -117,7 +117,7 @@ __(1)__ Meevax installed by `make install` cannot be uninstalled by the system's
## Usage

```
Meevax Lisp System, version 0.3.818
Meevax Lisp System, version 0.3.948
Usage: meevax [OPTION...] [FILE...]
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.818
0.3.948
Loading

0 comments on commit bb143aa

Please sign in to comment.