Skip to content

Commit

Permalink
WIP: check
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnks committed Sep 13, 2023
1 parent 2b1aab2 commit e92d82f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ add_custom_command(OUTPUT rpmtests
)

add_custom_target(tree
COMMAND ./mktree build
COMMAND ./mktree build --native
BYPRODUCTS mktree.output
DEPENDS rpmtests
DEPENDS ${TESTPROGS}
Expand Down
6 changes: 6 additions & 0 deletions tests/mktree.common
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
DATADIR=/usr/share/mktree

# Build and install RPM and the test-suite data into a directory
make_install()
{
Expand All @@ -16,4 +18,8 @@ make_install()

mkdir -p $DESTDIR/build
ln -sf ../data/SOURCES $DESTDIR/build/

mkdir -p $DESTDIR/$DATADIR
cp @CMAKE_CURRENT_SOURCE_DIR@/mktree.rootfs $DESTDIR/usr/bin/mktree
cp rpmtests atlocal $DESTDIR/$DATADIR/
}

0 comments on commit e92d82f

Please sign in to comment.