From: Eric Gallager Date: Mon, 4 Dec 2023 15:13:55 +0000 (-0500) Subject: remove qmtest-related Makefile targets X-Git-Tag: basepoints/gcc-15~3909 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec266cbb859160aa207b6b292cfd974280ca8ff9;p=thirdparty%2Fgcc.git remove qmtest-related Makefile targets On GitHub, Joseph Myers (@jsm28 there) says in MentorEmbedded/qmtest#1 that the qmtest-related targets should have been removed long ago. This patch does so. Ref: https://github.com/MentorEmbedded/qmtest/issues/1 gcc/ChangeLog: * Makefile.in: Remove qmtest-related targets. --- diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 68410a86af5a..f284c1387e27 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3735,7 +3735,6 @@ distclean: clean lang.distclean -rm -f testsuite/*.log testsuite/*.sum -cd testsuite && rm -f x *.x *.x? *.exe *.rpo *.o *.s *.S *.cc -cd testsuite && rm -f *.out *.gcov *$(coverageexts) - -rm -rf ${QMTEST_DIR} stamp-qmtest -rm -f .gdbinit configargs.h -rm -f gcov.pod # Delete po/*.gmo only if we are not building in the source directory. @@ -4417,58 +4416,6 @@ check-parallel-% : site.exp fi ; \ fi ) -# QMTest targets - -# The path to qmtest. -QMTEST_PATH=qmtest - -# The flags to pass to qmtest. -QMTESTFLAGS= - -# The flags to pass to "qmtest run". -QMTESTRUNFLAGS=-f none --result-stream dejagnu_stream.DejaGNUStream - -# The command to use to invoke qmtest. -QMTEST=${QMTEST_PATH} ${QMTESTFLAGS} - -# The tests (or suites) to run. -QMTEST_GPP_TESTS=g++ - -# The subdirectory of the OBJDIR that will be used to store the QMTest -# test database configuration and that will be used for temporary -# scratch space during QMTest's execution. -QMTEST_DIR=qmtestsuite - -# Create the QMTest database configuration. -${QMTEST_DIR} stamp-qmtest: - ${QMTEST} -D ${QMTEST_DIR} create-tdb \ - -c gcc_database.GCCDatabase \ - -a srcdir=`cd ${srcdir}/testsuite && ${PWD_COMMAND}` && \ - $(STAMP) stamp-qmtest - -# Create the QMTest context file. -${QMTEST_DIR}/context: stamp-qmtest - rm -f $@ - echo "CompilerTable.languages=c cplusplus" >> $@ - echo "CompilerTable.c_kind=GCC" >> $@ - echo "CompilerTable.c_path=${objdir}/xgcc" >> $@ - echo "CompilerTable.c_options=-B${objdir}/" >> $@ - echo "CompilerTable.cplusplus_kind=GCC" >> $@ - echo "CompilerTable.cplusplus_path=${objdir}/xg++" >> $@ - echo "CompilerTable.cplusplus_options=-B${objdir}/" >> $@ - echo "DejaGNUTest.target=${target_noncanonical}" >> $@ - -# Run the G++ testsuite using QMTest. -qmtest-g++: ${QMTEST_DIR}/context - cd ${QMTEST_DIR} && ${QMTEST} run ${QMTESTRUNFLAGS} -C context \ - -o g++.qmr ${QMTEST_GPP_TESTS} - -# Use the QMTest GUI. -qmtest-gui: ${QMTEST_DIR}/context - cd ${QMTEST_DIR} && ${QMTEST} gui -C context - -.PHONY: qmtest-g++ - # Run Paranoia on real.cc. paranoia.o: $(srcdir)/../contrib/paranoia.cc $(CONFIG_H) $(SYSTEM_H) $(TREE_H)